This is a migrated thread and some comments may be shown as answers.

Keep red dirty indicator when create or update action fails

2 Answers 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kaan
Top achievements
Rank 1
Kaan asked on 18 Aug 2016, 05:24 PM

Hi!

When the user updates a field of a new (create action) or existing (update action) data record, a litte red flag is shown to indicate that the changes haven't been sent to the server yet.

How can I make these flags keep staying after the user clicked on "Save changes" in case a server side error (e.g. validation) occurred, and therefore to signal the user that he/she has to correct its changes and click on "Save changes" again?

(I am working with DataTables)

Best,
Kaan

2 Answers, 1 is accepted

Sort by
0
Accepted
Maria Ilieva
Telerik team
answered on 22 Aug 2016, 11:43 AM
Hello,

Since Batch Editing is an entirely client-side oriented edit mode, all the changes made on the client will be lost on postback and there is no built-in functionality that will allow you to overcome this behavior. With Batch Editing, all validations that you need to perform on the user input needs to be performed on client-side. If you need complex server-side validation you should consider switching to another edit mode.

Regards,
Maria Ilieva
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Kaan
Top achievements
Rank 1
answered on 25 Aug 2016, 12:24 PM

Thank you for your answer!

Tags
Grid
Asked by
Kaan
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Kaan
Top achievements
Rank 1
Share this question
or