Ive had problems with the calender throwing an exception when i clicked the previous month to many time to fast. Sometimes it doesnt happen. Is this a known problem? Is there any known typical solution?
I have a user control that needs a javascript function so I put my JS code in a variable and used the ScriptManager.RegisterStartupScript in Page_PreRender of the control as follows
I'm working on a asp.net page and I have the following scenario:I have 2 fields that have requiredfieldvalidators which need to "fire" their validation when button1 is clicked but NOT when button2 is clicked and another field which is validated by another requiredfieldvalidator with the opposite scenario. (requiredfieldvalidator for this field needs to "fire" when button2 is clicked but NOT when button1 is clicked.)
1. I want to stop multiple clicks on a submit button. Once the user has clicked the submit button,he has been redirected to next page. but he should not be allowed to click submit button multiple times.
2. once the user has gone to the next page, he should not be able to come back to previuos page,; if at all he comes back-- all the form fields should get cleared. how?
Notice that I have multiple ItemTemplates. On the first itemTemplate I have an ASP image control showing some image. I would like that when a user clicks on that image the row gets deleted. How can I do that without using the asp:buttoncolumn?Also the same applies for selecting a row, that instead of deleting the row the row gets selected
I have a problem that is driving me insane. I have a simple detailsview that operates as you would expect a detailsview to do - the only difference being that in the updated event I send an email to various people to advise of detail changes (I have conditional testing to do this).
The problem is that if the user goes crazy with left clicking the update button, email recipients can receive multiple duplicate emails.
I have looked all over the net and seen many varied solutions for this problem - mainly using javascript - but none of them seem to be able to block multiple clicks without disabling or hiding the update button - which obviously causes issues with client side validation in the event that information is missing or incorrect.
I'm using an <asp:Repeater> in asp.NET to create several such <div>s.The problem is that all clicks in the div are picked up by this jQuery - I also have an <asp:Button> inside the div, for this I want to catch the click as normal and process it in the repeater_ItemCommand event - But this doesn't fire - the page just redirects to the href found in the hyperlink in the div.
I am faced with a tricky scenario. My application (WEB) is in .NET 3.5 using C# as the development language. My page is having a number of User controls, each with a Save button of its own.
Now my Page containing the User Controls also has a button named SAVE. Now all these User Controls are dynamically populated in the page with respect to some events and all of them are inside individual Update Panels.
Now my requirement is ONCLICK of the SAVE button in the page, the clicks of the SAVE buttons of the user controls will get fired. But since its an asynchronous call (since I am using AJAX through UPDATE PANELS), it will be a heavy overload if all the clicks get fired simultaneously.
So I thought of having sequential clicks done, i.e., after the successful completion of the Click of User Control 1, the click of User Control 2 will get fired and so on.
I presume this can be done with Server Callback, but I am at a loss how to proceed with it.
I want to disable a button when ever user clicks on that. My button present inside the Updatepanel control AJAXI tried with the OnClientClick="javascript:$get(btnUpdate).disabled=true;" button is disabling but that is not calling btnUpdate_Click() server side logic. Please suggest me how to do this.I need to disable button when ever user clicks first time and I need also btnUpdate_Click() logic please adavice me.
UpdateProgress has a div which shows "Loading...". Works fine on development server.
On client server, when the UpdatePanel fires, it shows "Loading...", but then seems to "freeze". IE status bar shows "(1 item remaining)"
If the user clicks anywhere in the screen, or types a letter, or otherwise gives some input, THEN the "Loading..." clears, and the new text of the screen shows up.
My GridView is bound to a sql data source and allows editing of fields. Coding is in C# and JavaScript.
Using Visual Studio 2008 in test mode, if I enter a less-than "<" or greater-than ">" character in a GridView textbox an error is immediately thrown upon pressing enter:
"Microsoft Visual Studio Mirosoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status dode returned from the server was: 500"
When the < or > is entered in production, the page aborts and loads the application start page.
I need to be able to catch and replace those characters BEFORE the error is thrown. I've tried hooking OnTextChange code to the textboxes, but the error is thrown as soon as I press enter...the OnTextChange code never runs.
The calendar extender is designed to automatically hide when the user clicks out side of it. [URL]. However, in the markup below that isn't happening. The click outside is ignored forcing the user to select a date to make it hide. [Code]....
I have a form that is Ajax enabled (we use ajax to display a "processing" message). We're having problems with the customers double clicking the button so I want to disable the button upon the first click. I use the code below which works fine in IE but not in Firefox or Chrome.
In Chrome and Firefox, the button grays out but is still clickable. Do you see any problems with the code above? on a workaround or alternate method of disabling the button? I have thought about using session state to flag when the button is clicked and just ignore subsequent clicks but would rather disable the button entirely.
I want to display a Modalpopupextender when user clicks on the link, but the above code does not work, it does not give an erorr but does not work too.
I have several pages, let's call them A, B and C. Each of these pages has a form where the user can type in some information and click a button to send those information to the server. This button click is performed in an UpdatePanel to prevent a full postback.
A customer of ours now wants to know how many % of the using visiting each site (A, B and C have different URLs) use this form. (Meaning I need seperate values for A, B and C) How to I track this in Google Analytics? It seems that I have to create a conversion(??) for each page. Is that correct?
How must I modify the existing web application to let Google Analytics know, that a user submitted the form. (without the need to redirect thank to xy amount of different thank you pages)
I have modal popup extender with two buttons called continue and cancel within it.I get this popup warning when session is going to expire.When I click cancel button it should logout me and when I click continue button it should extend my session for next 20 minutes. Both button gets trigered when I click them.Problem is that when I click continue button it should extend session for another 20 minutes and alert should disapper.That doesn't work.
I am trying to trigger a update planel when a user clicks on an button on a GridView. Once the button is pressed the id of the record gathered and then more information will be gathered and sent to lbl.Text in updatePanel1.
when I was trying to set this ModalPopUpExtender i was using a btn1 as the targetCOntrolID. btn1 is no longer used and i want to remove it from the page, but dont know what to do about the TargetControlID.
ASP Code [Code]....
VB Code Behind [Code]....
There is a gridview on the page and when the user clicks the link button it calls the popup..
[Code].... How can I remove btn1 and the ModalPopUpExtender still work ?
I have 2-3 update panel in my page and i don't want to load chart every time when my page loads or button clicks etc. I put that in update panel with triggers means only some clicks should loads chart. but that chart gets loaded everytime. how to stop that from loading
I'm building an application, my client wants me to create new control using AJAX. This control should look like thisThis control includes price(dolars and cents) and when user clicks on specific price(suppose 95 dolars and 33 cents) this price should jump inside to textboxs(one for dolars and one for cents)Does anybody have a clue how to implement this control creation??
i want to use a ajax calender extender in which when user clixcks on button caleder show only dates of current month not previous dates.i dont want to disable dates. i should not apper on current month calender. means it should start from 1 and end to 30 or 31
For some reason, with the Razor view engine, VS is crashing on me. I copied the CSHTML content over to a VBHTML file and begin reformatting it, and VS has crashed on me twice now as I change a helper or function method syntax from:
@helper SomeHelper(string text)
to
@Helper SomeHelper(text As String)
The whole machine must be rebooted to get intellisense/markup highlighing to work.