This is a discussion on Disable a button within the Microsoft .NET forums, part of the Programming Talk category; I have a Save button on a web page. I want to disable the button when clicked, so that the ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a Save button on a web page.
I want to disable the button when clicked, so that the user does not click it more than once, as the serevr side code is being processed. i disabled the button by calling a javascript function - btnSave.Attributes.Add("onClick","return buttonDisabled();") ; In the Javascript file i have - function disableButton() { var btnSave = document.getElementById('btnSave') ; btnSave.disabled = true ; return true ; } since the button gets disabled my server side code(in C#) does not get executed. thanks a lot for any kind of help |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| change label of one button of journal entry screen | mandar_v_d | Oracle Apps | 1 | 01-11-2007 02:25 AM |
| Disable XP Error Reporting | Guptha_S | Windows | 0 | 12-11-2006 10:37 AM |
| Disable the button | sprsekar | Oracle Apps | 1 | 11-18-2006 01:57 PM |
| Use of Default Button property | norman | ASP | 2 | 06-17-2006 08:11 PM |
| Best Practices for Checking Prerequisites | Mario T. Lanza | Software Patterns | 2 | 09-01-2004 06:51 PM |