msivasakthi
Member
- Joined
- Jan 12, 2009
- Messages
- 6
- Programming Experience
- Beginner
Hi All,
When ever key is pressed in TextBox then i need to pass that key to function for validation.. how can i set that in Textbox?
I have tried as <asp:TextBox ID="TextBox1" keypress="TextBox1_keypress" runat="server"></asp:TextBox>
but it show keypress is not a valid attribute..
what is the correct attribute??
thanks,
siva
When ever key is pressed in TextBox then i need to pass that key to function for validation.. how can i set that in Textbox?
I have tried as <asp:TextBox ID="TextBox1" keypress="TextBox1_keypress" runat="server"></asp:TextBox>
but it show keypress is not a valid attribute..
what is the correct attribute??
thanks,
siva