Warn user before losing edit changes (in-line)

3 posts, 1 answers
  1. Jazmin
    Jazmin  avatar
    1 posts
    Member since:
    Jul 2016

    Posted 24 Oct Link to this post

    Hello,

    We are using Kendo version 2016.2.714. And when you click edit, make some changes and then click edit from another row, you will lose your changes without a confirmation. How can we achieve this confirmation? If possible, it should include when the user clicks another page, or when the user clicks to add a new row (These events makes you lose your in-line edit changes without confirmation).

    Also, the simpler the better, as we have to implement this in various places where we use the grid widget.

    Thanks in advance!

  2. Maurice
    Maurice avatar
    11 posts
    Member since:
    Jan 2016

    Posted 25 Oct in reply to Jazmin Link to this post

    maybe not the answer you wnated but this is the way I do it.

    .DataSource(datasource => datasource
           .Ajax()
           .AutoSync(enabled: true)

     

    Now every change will be synced to the server.

    Maurice

     

     

  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Answer
    Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 26 Oct Link to this post

    Hello Jazmin,

    I have replied to your query in the support ticket you have submitted. Please submit any additional queries you have there.

    For anyone looking for similar functionality, below is a sample that outlines how you can prompt the user before editing a new record.



    Regards,
    Viktor Tachev
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Back to Top