Happy Valentine to all,


I run into the deadend and hope you can help me with. I do have a textbox. I would like to display the numbers of characters when users type into this textbox.

Here is the line of my codes:
VB Code:
  1. <asp:label  id="lblCount" runat="server" />
  2. <asp:TextBox id="txtNarrative" runat="server" TextMode="MultiLine" Width="543px" Height="476px"></asp:TextBox></P>

I want to control that users cannot type more than 2000 characters. If it reaches 2000, this txtNarrative is disable.

Thanks for your help.

le9569