Validating length of textbox dating crazy woman
You can add this to the control from the C# similarly to this. So server side validation(like using regular expression validator ) is quite essential.
Net to validate texts for either searching patterns or restricting user input in a textbox. Net, you can use the Max Length property to restrict user input for a maximum length.
I think you can with a regex but I don't know the actual expression as password can contain almost anything. I know I can use a regular expression validator using to state 7 as the minimum but I dont know how to set it to all characters.
hello does anyone know how i go about stopping users go past 6000 chars in my textbox i tried using rang validation but seems to be for numeric values any1 got any ideas of how i can accomplish this [:)] Thanks Andy, This will take a little bit of work to fit into your solution, but I think character counters are simply the best way of managing the length of a text box. It is so much easier when you know how much you have to work with.