RadMenu wrong position when in gridview in contextmenu

8 posts, 0 answers
  1. Sean
    Sean avatar
    51 posts
    Member since:
    May 2008

    Posted 26 Nov 2012 Link to this post

    I have a Grid->Content Menu->Grid->RadMenu

    So I have a grid with a column that contains a context menu which when right clicked displays another grid that contains a column that has a RadMenu ... the issue is when mousing over the RadMenu it opens in the top left corner of the page not in the desired location (the mouse position) ... any thoughts?

    I have seen this issue before and fixed it but it was over a year ago and for the life of me can not remember what I did to fix it.
  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 27 Nov 2012 Link to this post

    Hi Sean,

    Could you describe more precisely your problem? When you say Grid do you mean RadGridView? Is the second Grid inside the RadContextMenu or somewhere else? Also which version of RadControls are you using? I've tried several different scenarios to reproduce your problem, but unfortunately I'm not able to do it, so if you can isolate the problem in a simple example, it would be a great help.

    Looking forward to hearing from you.

    Kind regards,
    Rosen Vladimirov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Sean
    Sean avatar
    51 posts
    Member since:
    May 2008

    Posted 27 Nov 2012 Link to this post

    Sorry, yes I mean RadGridView so a user right clicks a row in a 'RadGridView' which displays a 'ContextMenu' which contains another RadGridView - in that RadGridView is a column with a 'RadMenu"

    <RadGridView>
          <RadContextMenu>
             <RadMenuItem>
                 <Grid>
                         <RadGridView>
                                  <GridViewColumn>
                                          <RadMenu /> <!-- This displays in the wrong position -->
                                   </GridViewColumn>
                          </RadGridView>
                  </Grid>
              </RadMenuItem>
          </RadContextMenu>
     </RadGridView>

  5. Sean
    Sean avatar
    51 posts
    Member since:
    May 2008

    Posted 27 Nov 2012 Link to this post

    Also, I am using Q2 2011
  6. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 27 Nov 2012 Link to this post

    Hello,

    I've tried to reproduce your problem, but unfortunately I'm still not able to do it. I'm sending you my test project. Is it possible to modify it so it will represents the whole situation? This will be a great help for us.

    Looking forward to hearing from you.

    All the best,
    Rosen Vladimirov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  7. Sean
    Sean avatar
    51 posts
    Member since:
    May 2008

    Posted 29 Nov 2012 Link to this post

    Im sorry I have been working on other things .... we are on silverlight 4 still and I am unable to run this project.
  8. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 29 Nov 2012 Link to this post

    Hi Sean,

    I'm sending you the project for Silverlight 4. I tried to reproduce the problem once again, but I'm still not able to do it. Could you check the attachment and inform me if I'm doing something in a different manner than you?

    Please note that RadControls are no longer distributed for Silverlight 4 and also SL 4 is in limited support. We strongly recommend you to use Silverlight 5 and get access to all of our new features. You can check the Official RoadMap here.

    Kind regards,
    Rosen Vladimirov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  9. Sean
    Sean avatar
    51 posts
    Member since:
    May 2008

    Posted 29 Nov 2012 Link to this post

    Figured it out ... difference between yours and mine was the you placed the contextmenus content inside the header... I had
    <contextmenu>
       <radmenuitem header="details">
           <radgridview>
               ....

    Changed it to
    <contextmenu>
        <radmenuitem>
          <radmenuitem.header>
                <radgridview>

    This is a little different than where I was because I had a 'details' label but thats all right at least the menu position is now correct thanks.
Back to Top
DevCraft banner