.NET gurus here please - GridView and required fields

Soldato
Joined
1 Feb 2006
Posts
8,188
Hi,

I have a Gridview control with a list of rows containing checkboxes and an associated textbox.

I want the textbox to be a mandatory field if the checkbox is ticked. How can I do this? Can I embed RequiredFieldValidators in the gridview?

Cheers

Edit: Ignore. Just put together some code behind to valid page controls on button press.
 
Last edited:
Back
Top Bottom