Posted on: 5/20/2014 7:25:57 PM | Views : 457

For some reason the below code is not working, nothing is showing up to the right of my textbox.:
<td><asp:TextBox ID="Description" runat="server" ClientIDMode="Static" OnTextChanged="Description_TextChanged" AutoPostBack="true" MaxLength="150" Width="200px" /><asp:Label runat="server" ID="descriptionLength"></asp:Label></td> The textbox should not allow more than 150 characters, as that is size of the column in the database. I know of the MaxLength property for inputs, and it works just fine. This is more of a proof of concept, but I can't seem to get it to work - didn't expect this to be an issue, though i rarely do use TextChanged event as of now.

protected void Description_TextChanged(object sender, EventArgs e) { des ...

Go to the complete details ...