How to use Range Validator Inside Gridview?

R

Rodusa

Does anybody have any example of how to use validation controls inside
the GridView? Suppose the gridview contains five TextBoxes where user
can input the quantity for example. The Minimum quantity is 0 and the
maximum is 999. I want to bind all these five Texboxes to the
RangeValidator control.
However, the RangeValidator has one property called control to validate
which works pretty well with basic controls such as TextBox, but does
not work with GridView.

thanks

Rod
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top