Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have a textbox in footer template..Below this textbox i have a label.because when textbox contain more than 200 characters it show the error in this label...

But while inserting more than 200 char.,it not showing the error in this label and get inserted.
So i need a validation coding in C#...

Can anyone pls help me.
Posted
Comments
Mahmud Hasan 29-Feb-12 10:31am    
I believe you should try to do this using JS not C#.
Lalit PB 7-Mar-12 5:55am    
If you are accessing text box from footer server side, to set data to it, then at same time label from same footer will also available from code behind.
Try it once again.
but if you are trying to set error message to label at client side then that label will not be available at client side.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900