Hi,
I've a problem with the XamWebDialogWindow (version 10.1, latest release).I've a popup that shows up every 10 seconds (wusing a storyboard timer). The problem happens when my main application window is minimized.
I get this exception :
"Message : Unhandled Error in Silverlight Application Code: 4004 Category: ManagedRuntimeError Message: System.ArgumentException: La valeur n'est pas comprise dans la plage attendue. (which means "Value does not fall within expected range") à MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData) à MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData) à MS.Internal.XcpImports.UIElement_TransformToVisual(UIElement element, UIElement visual) à System.Windows.UIElement.TransformToVisual(UIElement visual) à Infragistics.Silverlight.Controls.XamWebDialogWindow.GetContainerPanelCoords(FrameworkElement container) à Infragistics.Silverlight.Controls.XamWebDialogWindow.CenterDialogWindow() à Infragistics.Silverlight.Controls.XamWebDialogWindow.XamWebDialogWindow_LayoutUpdated(Object sender, EventArgs e) à System.Windows.FrameworkElement.OnLayoutUpdated(Object sender, EventArgs e) à MS.Internal.JoltHelper.RaiseEvent(IntPtr target, UInt32 eventId, IntPtr coreEventArgs, UInt32 eventArgsTypeIndex)"
If this is a bug , is there a way i can avoid it through a little workaround or something ?
Thanx.
EDIT : I also set the popup StartupPosition Property to "Center" and restrictInContainer to "true"
I tried reproducing your results but I could not get the issue to happen. Could you perhaps submit a simple sample that shows this behavior?
I don't know if it's a bug, possible, but you might want to try a workaround that if your page gets minimized you turn the timer off.