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

[Solved] RowContextMenu?

2 Answers 202 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 02 Apr 2009, 04:03 PM
Is it possible to declare Context Menus for a Grid declaratively (and enjoy server side events) or is it only possible through client scripting?

I see many things about HeaderContextMenu but not RowContextMenu...


Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 03 Apr 2009, 04:10 AM
Hi Eric,

As far as I know RowContextMenu for Grid is implemented with the help of client side scripting. To associate the context menu with the grid instance, attach the OnRowContextMenu client event of RadGrid, get reference to the context menu object client-side and invoke its show method (passing the browser's event argument as parameter). You may refer the following help article for more information on this.
AJAX-enabled context menu

Shinu
0
Eric
Top achievements
Rank 1
answered on 03 Apr 2009, 08:21 AM
Exactly what I was looking for.

Many Thanks


Eric
Tags
Grid
Asked by
Eric
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Eric
Top achievements
Rank 1
Share this question
or