Skip to content

Monthly Archives: March 2010

One time only clickable button

The magic about a one time clickable button in C# is to override Button and place the default onclick event to aspnet_onclick and add another function to onclick that disables the button if Page_IsValid. I will not post the whole solution, but I will share the javascript that enable the disable effect. function SubmitButton_InitOnClick( id, [...]