How to show a small menu by clicking radGrid item?

2 posts, 0 answers
  1. Saad
    Saad avatar
    82 posts
    Member since:
    Oct 2008

    Posted 23 Nov 2008 Link to this post

    I have placed a GridButtonColumn on each row of my radGrid...I want to show a very simple menu (could be any control) with some options in it whenever user clicks on them. I have named CommandName of my GridButtonColumn as "Options" and have made an event of RadGrid_ItemCommand. Please guide me plzzzzzzzz!!!!
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 23 Nov 2008 Link to this post

    Hi Saadi,

    From what I understood you are trying to show a Menu ok clicking a GridButtonColumn. If so try the following code snippet and see if it helps.

      <telerik:GridButtonColumn CommandName="Options" Text="Click"  UniqueName="Options"  ></telerik:GridButtonColumn> 

     protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e) 
            if (e.CommandName == "Options") 
                RadMenu1.Visible = true

  3. DevCraft R3 2016 release webinar banner
Back to Top