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
This one is a little easier to reproduce than the other issue I posted about. Basically, if you don't use the context menu to open the child window, the context menu is not being set to disabled/hidden or whatever it needs to be. This may be a client thing, but I'd consider it an Infragistics bug. Please let me know what you think.
Example application: http://www.qfpost.com/download.do?get=df9bd8ebf81e8fb5794ff6746a72ab39
Simply try to open the child window both ways, and you'll see the context menu show up through the child window if you open the child window via double-clicking the parent window's XamWebGrid.
I'd avoid this altogether if users didn't want a default behavior of opening the client window when a row is double-clicked.
Thanks!
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,
Just to confirm, this works in 10.3 Volume Release.
Regards,
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!