Keep red dirty indicator when create or update action fails

3 posts, 1 answers
  1. Kaan
    Kaan avatar
    7 posts
    Member since:
    May 2016

    Posted 18 Aug Link to this post


    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)


  2. Answer
    Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 22 Aug Link to this post


    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.

    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
  3. UI for ASP.NET AJAX banner
  4. Kaan
    Kaan avatar
    7 posts
    Member since:
    May 2016

    Posted 25 Aug Link to this post

    Thank you for your answer!

Back to Top