I need to make one grid column as the mandatory field.
I know how to make it with any separate control. E.g. I can type:
And I can use this Validator for the TextBox:
And it works. User can't send the form because he gets an error - the field is empty.
But I need to do the same with .
When I open "Edit columns" in Grid Wizard I can't see any property as "mandatory" or something like this.
And the code with RequiredFieldValidator doesn't work with a grid column. If I try to use it:
In this case, I have an error (look at screenshot)
Is there some method for grid column validation? Or it's impossible with a grid?