RadMenu on RadGrid contextual based on Row

2 posts, 0 answers
  1. Todd A
    Todd A avatar
    43 posts
    Member since:
    Sep 2009

    Posted 09 Jun 2010 Link to this post


    I have implemented the RadMenu on a page with a fixed set of 4 menu items. I have followed an example I found where I set the right click and trigger the client side code to show the RadMenu.  This works great -- especially for an Add,Edit,Delete which applies to all rows. 

    How do I further customize this to make it row specific. FOr example, for row 1 I might want to show 2 options, versus row 2, 3 options.  depends on the row.  I thought of using the web service, but passing the row is tricky -- or creating a RadMenu per row --- but before I go down either of these paths I wanted to see if I was missing something and there is an easier way.

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 10 Jun 2010 Link to this post

    Hello Todd,

    Attach OnRowContextMenu client event to RadGrid and access the menu client object in the handler to customize the items.

    Here I found a forum which discusses similar scenario.
    Context menu Problem

Back to Top