In my UserControl, I have one StackPanel (Name="Stack1") on Row 1 and one Grid (Name=gridMain) on Row 2. On Loading of my UserControl, I do this
Infragistics.Controls.Interactions.XamDialogWindow helloWindow1 = new Infragistics.Controls.Interactions.XamDialogWindow() { Width = 350, Height = 300, StartupPosition = StartupPosition.Center, IsModal = true }; helloWindow1.Content = "Hello"; helloWindow1.ModalBackgroundEffect = new BlurEffect() { Radius = 10 }; this.Stack1.Children.Add(helloWindow1); helloWindow1.WindowState = Infragistics.Controls.Interactions.WindowState.Normal;
Infragistics.Controls.Interactions.XamDialogWindow helloWindow = new Infragistics.Controls.Interactions.XamDialogWindow() { Width = 350, Height = 300, StartupPosition = StartupPosition.Center, IsModal = true }; helloWindow.Content = "Hello"; helloWindow.ModalBackground = new SolidColorBrush(Colors.Beige); helloWindow.ModalBackgroundEffect = new BlurEffect() { Radius = 10 }; this.gridMain.Children.Add(helloWindow); helloWindow.WindowState = Infragistics.Controls.Interactions.WindowState.Normal;I would have expected to have Row 1 and Row 2, both have a popup window and the 2 rows's background being disabled.
BUT this is not the case, only Row 2's background is disabled. Row 1 is still enabled.
It is only when I close the pop up in Row 2, that Row 1's background is disable.
Is this a known issue?
Can anyone from infragistic give me an answer, please?
Hi,
So, the XamDialogWIndow is handled by one global manager, that handles ordering the zindexes of the various dialog windows. Within that, there is actually only one modal frame used for the background.
We could look into expanding this functionality, as this is the first request we've had to have to multiple "modal" dialog windows displayed at once, that aren't in the same container.
Can i ask what you're use case is?
Thanks,
-SteveZ
Hi Steve,
for example, I use the XamDialogWindow inside one UserControl (eg. PatientView) and there can be many instance of this PatientView( for different Patients) hosted by XamDockManager PaneTabControl.
The XamDialogWindow ONLY grey out the content of the PatrientView. So if PatientView1 has XamDialogWindow set to Modal, I still can toggle to other PatientView (eg PatientView2).
The problem is that if both PatientView1 and PatientView2 is modal. Currently only one of them is really set to Modal,
Does that make sense?
Best Regards,
Steven
I have created a private case (CAS-53949-Y5TKL1) for you for this issue so that it can be linked to the development issue. This will allow you to track the status of the development issue and also you will be automatically notified once the fix is available in a service release.
Hi
Just to say that I am also very interested in this feature and I would also like to be notified when the service release is available.
How can I track the development issue?
Thank you and best regards
Dani
The described issue was resolved and the fix is available in the latest Service Release.
Regards
Hello Steven,
I've entered this issue in our system with a reference number of #61570 so you can receive further updates.
Thank you for reporting this to us.
Hi Nikolay,
I have updated the Case Number and below is what I responded:
Hi, I have downloaded the service pack, but it doesn't seem to address the issue, of xamWindowDialog losing Modal, if another xamWindowDialog is set to Modal on a different container.Also, a new issue came up, which is the 1st xamWindowDialog now loses Modal, when I add a new TabItem in the TabControl that host it's container.Best Regards,Steven