RadGridViewand ContextMenu

6 posts, 1 answers
  1. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 28 Jul 2009 Link to this post

    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
  2. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 31 Jul 2009 Link to this post

    Any Ideas ? Anyone ?
  3. DevCraft banner
  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 31 Jul 2009 Link to this post

    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.
  5. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 31 Jul 2009 Link to this post

    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 ?
  6. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 31 Jul 2009 Link to this post

    Ok, it works well on firefox, so I guess it is a Chrome issue.

    Maybe somthing you could look into ?
  7. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 31 Jul 2009 Link to this post

    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.
Back to Top
DevCraft banner