How to stay in the Insert Mode after performing insert?

2 posts, 1 answers
  1. LamKhoa
    LamKhoa avatar
    92 posts
    Member since:
    Jun 2011

    Posted 27 Aug 2011 Link to this post

    Hi,

    When I insert a new record in RadListView, I added some custom validation, however, no matter what I did, it's automatlcally kicked out of the Insert Mode and back to normal mode after I click "Insert" button.

    In Edit Mode, I can do that (keep the RadListView in Edit Mode) by setting e.Canceled = true. However, it didn't happen to be same in Insert Mode.

    Please let me know if it's possible to stay in Insert Mode after performing insert and how to do it.

    Thanks

    Lamk.
  2. Answer
    Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 01 Sep 2011 Link to this post

    Hello Lamkhoa,

    Try calling the ShowInsertItems() method after the insert operation finished to reopen the insert form.
    Find more information in the below article:
    http://www.telerik.com/help/aspnet-ajax/listview-switch-insert-update-regular-modes.html

    Regards,
    Iana
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top