Jay Roy
asked on
validating datagrid cell
hi guys
I have a requirment where i want to validate the datagrid cell
This is my datagrid and i want to validate the country column
Id Name country
100 Jay UK
200 Rose USA
The country column is editable. If user enters any different country other than USA or UK
i want a validation error Alert and the cursor should be set on that editable cell.
Any idea how i can do that and what is the best way?
thanks
I have a requirment where i want to validate the datagrid cell
This is my datagrid and i want to validate the country column
Id Name country
100 Jay UK
200 Rose USA
The country column is editable. If user enters any different country other than USA or UK
i want a validation error Alert and the cursor should be set on that editable cell.
Any idea how i can do that and what is the best way?
thanks
ASKER
But the users want textbox instead of combobox..
I just want to validate the country and if incorrect show an alert message
and Put the mouse cursor in the textbox.
Can you please provide some sample code how I can do that.
Thx
I just want to validate the country and if incorrect show an alert message
and Put the mouse cursor in the textbox.
Can you please provide some sample code how I can do that.
Thx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In this case you don't need any validations