How to disable a button after click it in Asp.net?
Solution :
Button1.Attributes.Add("onclick", "javascript:" + Button1.ClientID + ".disabled=true;" + ClientScript.GetPostBackEventReference(Button1,""))
This can help avoid multiple submissions by a single buttons.
Subscribe to:
Post Comments (Atom)
Devops links
Build Versioning in Azure DevOps Pipelines
-
Build Versioning in Azure DevOps Pipelines
-
Don't use FirstorDefault() unless you are sure its valid/ verified in the business scenario. else you are going to introduce bugs in t...
-
Some tools which help this development 1. The WMI Code Creator tool allows you to generate VBScript, C#, and VB .NET code that us...
No comments:
Post a Comment