I have been trying to programmatically add a RequiredFieldValidator to an auto-generated GridDropDownColumn, but have been unsuccessful.
Has anyone tried doing this, and if so could you provider any pointers.
Has anyone tried doing this, and if so could you provider any pointers.
I have 2 use cases:
- Dropdown is pre-populated with values. First being a "Please select a choice" item. By not setting a selected value this is the default value, and I want to verify that a different choice has been made.
- Dropdown list has no items in it, and I do not want to allow an insert/update to happen in this case.
Thanks in advanced for any help.
-Steve