I am populating a table based on a javascript function.I want to limit the data entered to 2, afterwhich I hide the table.Is there a way to track how many hits the javascript code gets hit?
We are using Google Analytics for our site, but since it uses client script in HTML output we are unable to track hits to any of our ASP.NET ASHX handler pages.
Current Background: I have a ASP.NET VB form connected to a database. In the database, there is a field called TourCount. This count decrimates by 1 everytime a user submits a form.
Goal: When the TourCount reaches 0, all registrations must close. However, at the moment, TourCount continues to decrimate into negative numbers. When TourCount reaches 0, I would like a message to appear above the form saying "Registration Closed".
Current Attempt: I have tried a few things, but I'm not sure where it's going. I don't receive a config error message, but it's never functioning correctly either. I'm not sure where or what type of script I should be using. My logic says, when TourCount is less than or equal to zero, display a text string via the id called "Message".
I want to track the new url being entered in the browser when the user leaves the current page in the onunload event.
If the user is browsing www.xyz.com/page1.aspx and suddenly he types a new URL in the browser, I want to get the new url typed in the onunload event. Is that possbile ?
Assume you have a page in ASP.NET where it makes sense to use JavaScript/jQuery to modify the DOM with values that will eventually be read by the server on submit. For example, you have a form that allows end users to add/remove objects (like dependents on a health insurance form or assets on a loan application). What are some ways to ensure that these items are detected and retrieved by the server once the information is submitted?
I've tried a few things that work, but none of them seem perfect so I wanted to see what the community had to offer. Also, I'm not looking for suggestions that avoid dynamic DOM elements (like use a Wizard, etc.). I'm specifically trying to improve my technique with dynamically created DOM elements.
We have a asp.net web form with fairly a large number of form controls (textboxes, dropdown, checkboxlist, gridview,etc..)
There's a profile list (dropdown list) - when a profile is selected from this list, the attributes of that profile should be filled in to the other form controls. then if the user changes at least one of these form values, then the profile list value should be reset to a value 'Common'. this is an item in the profile list.
Basically that means, if a user selects 'profileA' and then changes the attributes of profileA, then the profile list should not display 'profileA', instead it should show 'Common'.
what is the best way to handle this. I know there's a jquery function for 'dirty forms', but I'm not sure how to use this, and where and when to call this function.
I have an aspx page which counts every visit and creates a cookie. But if I use OutputCache page counts only the first visitor who requested the page. How can I prevent this bug?
i want to find out the websites that are people are coming from when they come on my website. so lets say someone comes from [URL] or [URL] or someone came through email or somewhere else. how can i do this?
Is there anyway to trigger the ValidationSummary before the user hits a button that causes validation?I have a bunch of text boxes with Required and Rregex validators attached, as I type in them and tab out they trigger their errors however the summary doesn't show anything until I hit the Submit button. Any way to have the ValidationSummary update itself in the same way as all other validators?
I have a web page, with three buttons which allow a user to cancel, save & exit, or save & continue. to assign the Save & Continue button the ability to accept the Enter key as being equal to it being clicked? Thought this might make it faster for data entry, so they can keep hands on keyboard, and just hit enter, instead of having to use mouse to click save & continue.
have code in my .Net web app which sets the Form DefaultButton (fires the Search button when enter key is hit). This works fine in IE and Chrome but not in Firefox. I discovered that the web form has the <ajx:HoverMenuExtender which deletes a note when clicked. The problem is this note delete fires when the user hits the keyboard enter key!
I want to monitor the activities of all the folders present at "C:Inetpubftprootsan".User can work on any type of files and not only text files.Since we have given 1GB space (lets say) to each user, so user can do anything to utilize this space.
Now I want to monitor the activites that the user will do in his folder like creating new file, deleting an existing file or editing a file.I want to monitor user's activities because i have to keep track of the space given to the user so tht i can restrict the user to use 1GB space only and not more than that.
is there any class that i can use other than FileSystemWatcher as it works only in console applications and not in webapplications?
I'm trying to write an application that allows a visitor to use our service for 7 days. After 7 days, they will no longer be able to use it unless they sign up. What's the best way and the most accurate way to track it without collecting their credit card information? I'm trying to use the following code to track visiotr's ip. But I'm not sure if people are able to change their ip address or using a proxy server that will go through.
How to track the exception in application. means let say there is enterprise project, If we deliver the project to end user (forget for a while any tester is there/ or in my side who can track this exception). and while navigating or doing any operation , a custom error page occurs, which is define by developer from his web.config file.
then how user will let know to developer that he get something exception while doing particular operation ? How developer can tack this exception without having any kind of debugging. Let say user not allow to deploy again. developer want to track this exception on deployed application. What he must to do. I know we can put try..Catch but need to now particulars..
Well, in Page_Load method on Eroare.aspx page i try to print to my internal logs the error which caused this redirect but Server.GetLastError() is null...
Do you know why? Or any other solution to get the exception?
I want to put an unique image (1x1) on an e-mail marketing (not spam) of my client. Just like [URL], I'd like to use it to know how many people have actually read the e-mail. I guess I'll have to check how many times this unique image has been accessed, but I can't figure out how to do it.
Is there a way to check how many times an image file was accessed using ASP.NET/C#?
In sql2005 or Sql2008, is there any possibility to find since last month, what r the manipution have done in sql (i.e insert ,update,delete, creation in database makuse of any log file). That i need to track this manually.