protected void Page_Load(object sender, EventArgs e) { cmdSubmit.Attributes.Add("onclick", "this.disabled=true;" + ClientScript.GetPostBackEventReference(cmdSubmit, "").ToString()); } protected void Button1_Click(object sender, EventArgs e) { Response.Write("I have clicked : "+DateTime.Now.ToString()); }
ஏஞ்சல்
என்னை பற்றி
Google reader
Categories
- .Net (9)
- .Net Crystal Report (1)
- .Net GridView (3)
- Articles (5)
- Log File .Net (1)
- Sharepoint (2)
- Sitefinity 3.7 (3)
- SQL (5)
- Technical Question and Ans (3)
- Validation (1)
- XML (2)
Thursday, September 13, 2012
Asp.Net Button Click multiple times
protected void Page_Load(object sender, EventArgs e) { cmdSubmit.Attributes.Add("onclick", "this.disabled=true;" + ClientScript.GetPostBackEventReference(cmdSubmit, "").ToString()); } protected void Button1_Click(object sender, EventArgs e) { Response.Write("I have clicked : "+DateTime.Now.ToString()); }
Posted by Meera at 2:40 AM
When hearts listen
angel sing.If you seek an angel with an open heart...
You shall always find loved one