c# - Get number of character selected in a multiline textbox in asp.net -
People,
I have a multilingual text box and I have MaxLength = "160" , I also have a label indicating the number of remaining characters .... Now I want to get the number of characters selected by the user, he can remove it and I can calculate that calculation The total number of characters left in the label that represents which I have to add ..... I want to type it in the text box.
This client-side is using Javascript For this, there is a solution for this. To do this in server side event handlers, get the length of the string, as long as your page is posted back to the server, the highlight has been removed.
Comments
Post a Comment