I am displaying a control that inherits from ChildWindow after an item is selected from a XamWebContextMenu. Althought the ChildWindow displays correctly overlayed on top of the page containing the XamWebGrid, the context menu still pops up when the ChildWindow is right-clicked. Is there something I'm missing that I need to do such as disable the parent control with the grid? Thanks in advance for any help you can provide. Please see my ContextMenu below:
<igMenu:ContextMenuService.Manager>
<igMenu:ContextMenuManager x:Name="contextMenuManager" OpenMode="RightClick" ModifierKeys="None">
<igMenu:XamWebMenuItem Tag="OpenItem" Header="Open Item" Click="XamWebMenuItem_Click" />
Update: I've played some more with this, and it only seems to happen when I double-click a row and open the item for that row in the ChildWindow control. When I go through the context menu, then it doesn't display the context menu on the ChildWindow right-click ... the context menu seems to suppress itself or something in that case.
What should I do about this?
Hi,
I'd really need to see a sample in order to help you with this.
Do you think you can attach one to the thread?
Thanks,
-SteveZ
Thanks for posting a sample.
I tried it out with a couple different build including 10.1.1061 and 10.1.2100, but i couldn't reproduce the behavior.
Perhaps, its just that i'm not 100% sure what I'm looking for.
Here are the steps i took.
1. Right click on a row in the grid on MainPage
2. Click the Menu item.
3. When i right click on the Grid inside the child window, no context menu appears (b/c your setting its visibility to collapsed), and when i right click through the disabled background where the xamGrid on the MainPage.xaml the Silverlight menu appears. Also, i do not see the menu from the MainPage
Then i tried the same exact steps when i double clicked a row. And i was seeing the exact same behavior?
Are my steps incorrect? Could you attach a screenshot of the behavior you're seeing?
I simplified the example by stripping out the extras. I was trying to reuse it to show two different issues, and maybe that took away from it. New example uploaded here: http://www.qfpost.com/download.do?get=1c82a38e302a207a5f444b3ace02d7f8
Steps to reproduce:
Note: Opening the child window via the menu option does not display this behavior, but I'm calling the same function to display the child window.
Image of what I'm seeing (after right-clicking child window):
I was able to reproduce your issue, with the following clarifications:
After that, I verified that the issue was fixed in the following Service Release (build 2022) as well as in the latest Service Release (comming out in a few days, build 2175), so please update your version to the latest SR and the issue should be gone.
Thanks for reporting it and for providing all the information.
HTH,
I appreciate the follow-up. I assume this will work if I upgrade to 2010.3 (regardless of which SR it's on, since it was fixed in a 2010.1 SR). Is that assumption correct? I've already gone through the process of updating from 2010.1 to 2010.3, and I'll give this a spin. If you don't hear from me that it's still an issue, consider it resolved.
Thanks again!
Just to confirm, this works in 10.3 Volume Release.
Regards,