Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

dynamic textbox validation

Hi,You can use range validator. Add range validator dynamically in code behind file in combobox selection change event.In selection change event method Add below code.if(selected range is 1-5){RangeValidator1.ControlToValidate = "TextboxId";RangeValidator1.MaximumValue = "Give...

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 12-Nov-12 2:20 Available Mohd. Mukhtar
Updates in content. 1 changes had been made.
3 No 12-Nov-12 2:20 Available Mohd. Mukhtar
Updates in content.
2 No 12-Nov-12 2:19 Available Mohd. Mukhtar
Updates in content. 389 changes had been made.
1 No 12-Nov-12 2:10 Available Mohd. Mukhtar

License

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

About the Author

Mohd. Mukhtar
Software Developer (Senior)
India India
No Biography provided
Follow on   Twitter

| Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 12 Nov 2012
Article Copyright 2012 by Mohd. Mukhtar
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid