Hi
Trying to get started with http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx...
The "ProductName" column cannot be empty.
Trying to erase the value of that field and save shows a message "Product with ID 1 cannot be updated. Reason: Cannot insert the value NULL into column 'ProductName', table 'AspnetAjaxNorthwind35.dbo.Products'; column does not allow nulls. UPDATE fails. The statement has been terminated."
But, when saving a new row with an empty "ProductName" shows no error at all; neither is there any feedback from the form that indicates there are errors while saving. The form just sits there with no messages.
Shouldn't the validations be processed the same way for both updates and inserts? Or, are there other examples that are more complete from a validation standpoint?
Thanks
Trying to get started with http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx...
The "ProductName" column cannot be empty.
Trying to erase the value of that field and save shows a message "Product with ID 1 cannot be updated. Reason: Cannot insert the value NULL into column 'ProductName', table 'AspnetAjaxNorthwind35.dbo.Products'; column does not allow nulls. UPDATE fails. The statement has been terminated."
But, when saving a new row with an empty "ProductName" shows no error at all; neither is there any feedback from the form that indicates there are errors while saving. The form just sits there with no messages.
Shouldn't the validations be processed the same way for both updates and inserts? Or, are there other examples that are more complete from a validation standpoint?
Thanks