The Kendo UI Grid currently supports posting the rows in the grid back to the server with the rest of the form, but in order to do this you have to add ClientTemplates for each column, with a hidden input to store the value. If you want to use client-side validation with this setup, you have to add the validation attributes to the hidden inputs as well. In an ASP.Net MVC situation, this adds up to a lot of manual synchronization between the validation attributes that exist on the viewmodel and the corresponding columns in the view. It would be great if the grid could enable this type of behavior in a way that is more automatic and requires less manual synchronization between the viewmodel and view. For example, if there was some kind of MVC helper that would take the display expression and name for the hidden input and would generate it automatically, complete with the validation attributes from the property being bound to, that would be great.
Hi,
Having this as a built-in feature of the grid does not seem a good match for the component as it is not a form element and should not generally be posted. We do however have an example which illustrates this use case. Any optimizations of the approach should be implemented by the developer.
Regards,
Angel Petrov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.