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

RadGridViewand ContextMenu

5 Answers 103 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Ludovic Gerbault
Top achievements
Rank 1
Ludovic Gerbault asked on 28 Jul 2009, 12:52 PM
Hello,

I've created  a ContextMenu for my RadGridView with two properties, edit and delete.

I've managed to launch my edit function using the context menu when the row is selected (using the SelectedItem property).
What I can't seem to be able to do is manage to get the hovered record. I mean, the record my ContextMenu has been opened on, even if this one wasn't previously selected.

I've checked the documentation, in vain. Maybe you'll know how I can do a such thing.

Regards

Ludovic

5 Answers, 1 is accepted

Sort by
0
Ludovic Gerbault
Top achievements
Rank 1
answered on 31 Jul 2009, 12:54 PM
Any Ideas ? Anyone ?
0
Vlad
Telerik team
answered on 31 Jul 2009, 01:01 PM
Hello Ludovic,

Please check this demo for more info:
http://demos.telerik.com/silverlight/#GridView/RowContextMenu

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Ludovic Gerbault
Top achievements
Rank 1
answered on 31 Jul 2009, 01:18 PM
Thanks, but I seem to have a problem on the exampleyou gave me.

When I do right-click anywhere on the grid, it doesn't display a custom contextmenu, but the usual "Silverlight" item (windowless = false)

I'm using Chrome to naviguate (haven't had checked on other browers)

Is it a bug or am I doing something wrong ?
0
Ludovic Gerbault
Top achievements
Rank 1
answered on 31 Jul 2009, 01:22 PM
Ok, it works well on firefox, so I guess it is a Chrome issue.

Maybe somthing you could look into ?
0
Accepted
Vlad
Telerik team
answered on 31 Jul 2009, 01:28 PM
Hello Ludovic,

Indeed you are right! We should try to fix for sure.

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Menu
Asked by
Ludovic Gerbault
Top achievements
Rank 1
Answers by
Ludovic Gerbault
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or