I have a label lblCountCharacter with text “4000” and a textbox txtAddNote where users can enter text.
On entering one character in txtAddNote, the label text is decreased by one.
Please help me write a function for this in asp.net using C#.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think you can get a better solution to this by using just javascript/jQuery. Using c# is going to involve having to use AJAX to re-render the Label each time.