Return to Snippet

Revision: 21412
at December 11, 2009 17:35 by derekholmes


Initial Code
btn_Next.Attributes.Add("onclick", "this.disabled=true;" + 
            Page.ClientScript.GetPostBackEventReference(btn_Next, "").ToString() + ";");

Initial URL

                                

Initial Description
Will disable the button and still allow the postback event

Initial Title
Disable Button on Postback

Initial Tags
button

Initial Language
C#