Hi Stefano,
Query #1: For the second question I would like to validate the record server side wioth fluentvalidation library and i would like to set any validation rule in client side. How can do that ?( obviously the first question is bounded with the second because even if the DropDownList is filled or not i need to receive the Model for validation step ).
We have analyzed your query and we found that you want to perform validation in server side. So we suggest you to achieve your requirement using Data Annotation in Grid.
Please refer the following link to know about DataAnnotation:
But you also mentioned that you want to set validation in client side. We have given support for custom validation to the columns.
Please refer the following link to know about custom validation:
Query #2: Other little question. How can i intercept the Esc key to stop the row editing ?
We suspect that you want to perform different action when Esc key is pressed and so we suggest you to achieve your requirement using KeySettings property of the Grid. By Default, Esc key is used to cancel the edit action. You can modify the default key actions using the KeySettings.
Please refer the following link to know about keysettings property:
If above solutions does not meet your requirement kindly get back to us with more details regarding your requirement.
Regards,
Kuralarasan M.