Hello Kendo Experts,
I'm currently working on integrating a Kendo JQuery Grid with an ASP.NET Core server-side setup that utilizes Fluent Validation for data validation. When submitting data via the grid, the server responds with a structured error message in case of validation failures, following this format:
My goal is to handle these validation errors and present them to the user in a user-friendly manner within the Kendo Grid interface. This involves processing the error messages received from the server and displaying them near the corresponding input fields for easy identification and correction by the user.
Could you kindly provide guidance or suggestions on how to achieve this? Any insights or examples on how to format and display these error messages effectively within the Kendo Grid would be greatly appreciated.
Thank you for your assistance.
Hi, i have a grid which when creating an new element, the back-end verify if all the user data is correct and saves it in the db. Instead, if it have some errors will return which field has the error and the message about why failed.
My question is, how can i show this message like it was a validation? Like the required validation with the yellow tooltip above the cell (see image below)
My grid is in "inline" editing mode.
Thanks for your help!
Is there any way of formating a cell on incell editing and making sure that everytime the user leaves the cell, its value is in hh:mm format?
Similar to the editing custom editor example and the unit price column.
I tried the following but it did not make any difference. I am still able to pass whatever value I want.
... columns: [ { field: "time", title: "Time", width: "40px", attributes: {style: "text-align:left;"}, headerAttributes: {style: "text-align:left;"}, format: "{0:hh:mm}" }, ], ...
I am guessing I will have to combine both datasource validation and the format option in order to achieve what I want.
Thank you in advance,
Syian