we are using SF Grid control on a page and for a particular column added the validation to enforce a minimum value as 10. If we do not specify the Min Value validation the form's required validation works good. But if we specify the min value validation, then there is a JS error being thrown. I have enclosed the screenshot and the aspx file with and without validation rule in place. Kindly help us resolve the issue.
Thanks for the explaination. The sample app helped me identify the issue due to some wrong and old Jquery file reference. It has been fixed now and validations working good. On another note, is there anyway to stop the input panel for a grid for inline editing or template based edit form from closing as soon as the save button is clicked?. Because, once the inout is valid the save button click closes the form and submits to server side. But if there is a server side error, the entered fields are lost and we have to start afresh editing a record or adding a nre one. I thought it would be good to prevent the form from closing so we can force the form to appear and display any error messages right above the input fields and inside the edit form.
JKJayaprakash Kamaraj Syncfusion Team June 19, 2017 12:00 PM UTC
While using server edit events in Grid edit form will be closed and changes doesn’t reflect when any error in server side. This is the default behavior of Grid. To overcome this problem, we suggest you to use WebmethodAdaptor or remotesaveAdaptor instead of server edit events to perform crud operation in server side. Please refer to the below help document and online demo sample.