Tag Archives: control

MaxLengthTextBox – AJAX Control Extender

If you’re looking for an easy way to apply a max length to an ASP.Net multiline text field, I’ve written a control extender that is compatable with IE, and Firefox. It uses .Net 3.5, and you’ll need to go here and grab the toolkit. Once you’ve done that, head here to grab the extender. Put a reference to the toolkit in your project, then reference the assembly I’ve provided.

Now all you should need to do is add the extender as per any normal extender. Set a max length for your text box, and you should be good to go!

If you’ve got any comments, suggestions, improvements or even ideas for other controls leave a message on the codeplex page, or here on the blog.