This question is locked. New answers and comments are not allowed.
Hi,
Currently we upgraded the Telerik RadControls from 2011Q3(for SL4) to 2012Q1(for SL5), but we noticed that the MousePosition property of RadContextMenu would now return a value relative to the child UIElement. How could we still get the mouse position on visual parent of RadContextMenu when it's opened, just like it was in version 2011 Q3? We just test using the following codes, but the result varies.
<Grid x:Name="LayoutRoot" Background="White">
<telerik:RadContextMenu.ContextMenu>
<telerik:RadContextMenu x:Name="ContextMenu" Height="200" Width="150"
Opened="ContextMenu_Opened">
</telerik:RadContextMenu>
</telerik:RadContextMenu.ContextMenu>
<Grid Width="300" Height="300" Background="Red">
</Grid>
</Grid>
Currently we upgraded the Telerik RadControls from 2011Q3(for SL4) to 2012Q1(for SL5), but we noticed that the MousePosition property of RadContextMenu would now return a value relative to the child UIElement. How could we still get the mouse position on visual parent of RadContextMenu when it's opened, just like it was in version 2011 Q3? We just test using the following codes, but the result varies.
<Grid x:Name="LayoutRoot" Background="White">
<telerik:RadContextMenu.ContextMenu>
<telerik:RadContextMenu x:Name="ContextMenu" Height="200" Width="150"
Opened="ContextMenu_Opened">
</telerik:RadContextMenu>
</telerik:RadContextMenu.ContextMenu>
<Grid Width="300" Height="300" Background="Red">
</Grid>
</Grid>