Textbox eventCKCarlos kambui11yAsked May 25, 2015, 1:19 AM EDT4 answersShareLinkedInXCopy linkSaveevent that can be used when text is changed the value change automatically i.e when date of birth is changed the text changed automatically
Textbox eventCKCarlos kambui11yAsked May 25, 2015, 1:19 AM EDT4 answersShareLinkedInXCopy linkSaveevent that can be used when text is changed the value change automatically i.e when date of birth is changed the text changed automatically
Rahul BansalRank #143 · 15.9K reputation11y agoPosted May 25, 2015, 1:22 AM EDT0You can use 'onchange' event in javascript which is Client side eventor You can use 'OnTextChanged' event in C# which is Server side event 0
Upendra Pratap ShahiRank #329 · 7.5K reputation11y agoPosted May 25, 2015, 1:33 AM EDT0You can use these concept : 1) onkeypress="document.getElementById('Label1').innerHTML=this.value;" /> 2) You can set the AutoPostBack property to True just like this:AutoPostBack="True"Will going to work better if you put the textbox inside an updatepanel from AJAX =)In your html code: ontextchanged="TextBox1_TextChanged"> CodeCopyprivate void TextBox1_TextChanged(object sender, EventArgs e)CodeCopy{CodeCopy//you can write hereCodeCopy} if works kindly accept this solution 0Munesh SharmaRank #174 · 13.9K reputation11y agoPosted May 25, 2015, 2:15 AM EDT0Text box contain a textchanged event , you can use it CodeCopyprivate void TextBox1_TextChanged(object sender, EventArgs e)CodeCopy{CodeCopy//you can write hereCodeCopy} 0Pankaj Kumar ChoudharyRank #80 · 24.4K reputation11y agoPosted May 25, 2015, 2:33 AM EDT0 Hello @Carlos there are two method for this either using "onchange" event of java script or text changed event of textboxCodeCopyprivate void TextBox1_TextChanged(object sender, EventArgs e)CodeCopy{CodeCopy//Write Your Code hereCodeCopy} 0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Munesh SharmaRank #174 · 13.9K reputation11y agoPosted May 25, 2015, 2:15 AM EDT0Text box contain a textchanged event , you can use it CodeCopyprivate void TextBox1_TextChanged(object sender, EventArgs e)CodeCopy{CodeCopy//you can write hereCodeCopy} 0
Pankaj Kumar ChoudharyRank #80 · 24.4K reputation11y agoPosted May 25, 2015, 2:33 AM EDT0 Hello @Carlos there are two method for this either using "onchange" event of java script or text changed event of textboxCodeCopyprivate void TextBox1_TextChanged(object sender, EventArgs e)CodeCopy{CodeCopy//Write Your Code hereCodeCopy} 0
Rahul BansalRank #143 · 15.9K reputationPosted May 25, 2015, 1:22 AM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted May 25, 2015, 1:33 AM EDT
Munesh SharmaRank #174 · 13.9K reputationPosted May 25, 2015, 2:15 AM EDT
Pankaj Kumar ChoudharyRank #80 · 24.4K reputationPosted May 25, 2015, 2:33 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts