This is a migrated thread and some comments may be shown as answers.

Menu Options in Grid

3 Answers 160 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Raheel
Top achievements
Rank 1
Raheel asked on 02 Apr 2012, 11:38 AM
Hi Telerik Team,

                       We are Explore all Telerik controls but currently in our system we use asp grid with customizes control in that grid there is option of Menu in Grid because we use grid data for multiple operation but in Telerik Grid have not option for display Menu in Grid Header.So how we achieve Menu option in Telerik Grid. If we have not option of "Menu" then we have to use Multiple Buttons to perform operation in Grid.Please Give Us solution that Grid have option for menus and in each menu there would be event on server side.



Please see our attach file of Menu Option Grid.
           

3 Answers, 1 is accepted

Sort by
0
Elliott
Top achievements
Rank 2
answered on 02 Apr 2012, 08:59 PM
Raheel - I think what you want is called a Context Menu
here is a demo
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandmenu/defaultcs.aspx?product=grid
0
Raheel
Top achievements
Rank 1
answered on 03 Apr 2012, 07:29 AM
Dear,
        I see Demo grid but i want menu button like in my attached pic of grid and when i click on that button then there is multiple options to perform on grid not only Edit,Delete and Add options i want others options that i can add manually in menu of grid and i able to perform action against that i click on that.

0
Tsvetina
Telerik team
answered on 06 Apr 2012, 07:50 AM
Hello Raheel,

You can use a GridTemplateColumn and declare the button in its header template. On click of the button you can show the context menu. If you make the menu to automatically postback on click, you can use the ItemClick server event to handle the different selection options.

Kind regards,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Raheel
Top achievements
Rank 1
Answers by
Elliott
Top achievements
Rank 2
Raheel
Top achievements
Rank 1
Tsvetina
Telerik team
Share this question
or