This is a migrated thread and some comments may be shown as answers.

How to apply validation on dropdown column

1 Answer 43 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sandeep
Top achievements
Rank 1
sandeep asked on 16 Jun 2010, 11:16 AM
Hi all,

I have one issue,i am using one grid which contain one dropdwn column.
in some cases i dont want to select dropdown columns and set EnableEmptyListItem

now i am able to show blank value in grid at that particular row but in edit mode i want to apply requirefield validator if blank value is selected ....how can i apply that....

reply asap



1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 16 Jun 2010, 12:07 PM
Hello Sandeep,

You can add the RequireFieldValidator from code behind, as described in the documentation.
Validation

-Shinu.
Tags
Grid
Asked by
sandeep
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or