Display char enter while typing?

chooffIroda

New Member
I've a server control TextBox included in <form runat="server">. Is it possible to display the no. of character enter while typing? I tried the TextBox's AutoPostBack, but the char got counted only when the form is posted back to the server. Is this something that can only achieve via client Javascript stuff? And if so, can the server control TextBox still be used?<BR><BR>Thanks in advance,<BR>BenYes, you will need to use client-side javascript, and yes, you can still use the server control. If you need more control, from a client-side aspect, over your form controls, you can use ASP .Net's HTML controls and add runat="server" to their attributes.Thank u for your reply.<BR><BR>I got it now by adding the 'OnKeyPress' attribute to the TextBox calling to a JavaScript fn.<BR><BR>
 
Back
Top