RadMenu per RadGridView Row?

2 posts, 0 answers
  1. Chris
    Chris avatar
    9 posts
    Member since:
    Sep 2011

    Posted 30 Sep 2011 Link to this post

    Hi all,

    (I have cross-posted this to the two relevant forums)

    Is it possible to have a RadMenu per RadGridView row? I have a Windows explorer-style interface with a tree view on the left and a RadGridView on the right providing a listview style view. The commands for each of my items can vary. In the tree they are data bound to a RadMenu at runtime. Is there a way of doing this per row in a RadGridView?

    The only sample I have found shows a menu for the entire grid, not per row.

    I have tried per column by putting a menu inside the CellTemplate alongside the other controls but get a memeory vialoation error!

    Any tips or tricks would be appreciated.


  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 03 Oct 2011 Link to this post

    Hello Chris,

    In order to achieve your goal, you need to do the following:
    - handle the Opening/Opened event of the GridViewRow.
    - check which row is selected and according to your logic you can open or create the menu needed.

    Hope this information helps.

    Kind regards,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top