Programatically cancel an insert

2 posts, 0 answers
  1. Mark
    Mark avatar
    36 posts
    Member since:
    Jan 2012

    Posted 22 Nov 2016 Link to this post

    Is there a way to fully cancel a user insert of a new row programatically?

    I am looking to simulate the user hitting the esc key once initiating an insert of a new row.

    Thanks,

     

  2. Hristo
    Admin
    Hristo avatar
    1520 posts

    Posted 22 Nov 2016 Link to this post

    Hello Mark,

    Thank you for writing.

    You can subscribe the grid to its UserAddingRow and cancel it. Please check the following documentation article for an example: http://docs.telerik.com/devtools/winforms/gridview/rows/new-row#user-events

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo Merdjanov
    Telerik by Progress
    Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.
Back to Top