HI Team,
Can someone please help with the validation of the textbox on the length of the text to be accepted by the textbox and also the datatype which is typed in the textbox should that the textbox should not accept char when only integer is required or visa verse.
Thanks & regard
george
Loading
SenthilkumarPosted Mar 29, 2012, 12:50 AM
You can restrict the textbox length by setting the property.
MaxLength="250
It will restrict the user to enter with in 250 characters. But the text box mode of number or any other thing is out of box.
But the visual studio 11 have the different modes in textbox.
You can use the regular expression to validate.