Hi friends,
I want to know How to Text box event fire in asp.net? code with Example.
Text Box Event Fire In Asp.Net
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
SenthilkumarRank #387 · 6.5K reputationPosted May 25, 2012, 9:10 PM EDT
If you have Textbox control in the web page, double click on the textbox control in the design view will automatically generate the event code.
Or else you can write the click property in the control itself,
In the .aspx.cs page, you need to define like this.
protected void TextBox1_TextChanged(object sender, EventArgs e)
Hope this will help you.
Kunal VaishyaRank #990 · 2K reputationPosted May 26, 2012, 12:41 AM EDT
if you want use Text Change-Event Of Text Box in Asp.Net then Must Set property Auto Postback = true