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

RadMenu wrong position when in gridview in contextmenu

7 Answers 167 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sean
Top achievements
Rank 1
Sean asked on 26 Nov 2012, 07:17 PM
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.

7 Answers, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 27 Nov 2012, 03:46 PM
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.

0
Sean
Top achievements
Rank 1
answered on 27 Nov 2012, 03:52 PM
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>

0
Sean
Top achievements
Rank 1
answered on 27 Nov 2012, 04:17 PM
Also, I am using Q2 2011
0
Rosen Vladimirov
Telerik team
answered on 27 Nov 2012, 04:21 PM
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.

0
Sean
Top achievements
Rank 1
answered on 29 Nov 2012, 01:44 PM
Im sorry I have been working on other things .... we are on silverlight 4 still and I am unable to run this project.
0
Rosen Vladimirov
Telerik team
answered on 29 Nov 2012, 02:08 PM
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.

0
Sean
Top achievements
Rank 1
answered on 29 Nov 2012, 03:48 PM
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.
Tags
Menu
Asked by
Sean
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Sean
Top achievements
Rank 1
Share this question
or