how to get into edit mode to insert a new record with context menu

2 posts, 1 answers
  1. Mario
    Mario avatar
    75 posts
    Member since:
    Jun 2009

    Posted 09 Sep 2009 Link to this post


    i have built a grid, a deatils.ascx (my User Edit form) and i want to call the editmode of the grid with a context menu.

    all works fine, i can rightclick a row and the context menu opens. I already implemented that i can edit the record and do the update in the database with the editmode like in the online demo:

    Now i want to do the insertCommand. But i want to provoke the Insert Edit Mode with my context menu and not from the CommandItem of the grid. How can i do that?

    thx, Mario

    I just added "CommandItemDisplay="Top"" to the MasterView properties. Is it default that there is displayd Add Record and Refresh functionality in the CommandItem if im not implementing a CommandItem myself?
  2. Answer
    Tsvetoslav avatar
    1823 posts

    Posted 09 Sep 2009 Link to this post

    Hi Mario,

    Directions on how to implement your scenario you can find at the following online example:

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top