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
-
Generate Dates and hour between Date Range DECLARE @start DateTime = getdate() -1, @end DateTime = getdate(); ; WITH Dates_CTE ...
-
1. To get Simply the table names for a column name SELECT name FROM sysobjects WHERE id IN ( SELECT id FROM syscolumns WHERE name like &...
No comments:
Post a Comment