Page 1 of 1

Designer in Out-of-browser mode.

Posted: Mon Aug 15, 2011 4:13 am
by AVee
Hi,

I downloaded and installed the Reports.Silverlight trial to evaluate it for our application. The application we're building will mostly be used in Out-of-browser mode, however the designer seems to be aware of Out-of-browser mode. When I use the close button in the designer it attempts to access the underlying html-page (wich in OOB mode is there). Is this a bug, or is using the designer in OOB mode not supported?

This is the exception I'm getting:

Code: Select all

System.InvalidOperationException: The DOM/scripting bridge is disabled.
   bij System.Windows.Browser.HtmlPage.VerifyThreadAndEnabled()
   bij System.Windows.Browser.HtmlPage.get_Window()
   bij Stimulsoft.Report.SLDesign.StiActions.MainMenu.InvokeExit(StiSLDesignerControl designer)
   bij Stimulsoft.Report.SLDesign.Ribbon.StiRibbonMainMenu2010Background.biExit2010_Click(Object sender, RoutedEventArgs e)
   bij System.Windows.Controls.Primitives.ButtonBase.OnClick()
   bij System.Windows.Controls.Button.OnClick()
   bij Stimulsoft.Controls.SL.RibbonMainMenu2010Button.OnClick()
   bij System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   bij System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   bij MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
   bij System.Windows.Browser.HtmlPage.VerifyThreadAndEnabled()
   bij System.Windows.Browser.HtmlPage.get_Window()
   bij Stimulsoft.Report.SLDesign.StiActions.MainMenu.InvokeExit(StiSLDesignerControl designer)
   bij Stimulsoft.Report.SLDesign.Ribbon.StiRibbonMainMenu2010Background.biExit2010_Click(Object sender, RoutedEventArgs e)
   bij System.Windows.Controls.Primitives.ButtonBase.OnClick()
   bij System.Windows.Controls.Button.OnClick()
   bij Stimulsoft.Controls.SL.RibbonMainMenu2010Button.OnClick()
   bij System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   bij System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
   bij MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

Designer in Out-of-browser mode.

Posted: Tue Aug 16, 2011 7:45 am
by Anton Lozovskiy
Hello,

We cannot reproduce the problem. Can you please send us a simple test application, which reproduce the issue?

Thank you.

Designer in Out-of-browser mode.

Posted: Tue Aug 16, 2011 8:32 am
by AVee
I've created a minimal test project: http://d6.nl/stuff/RepTest.zip

Click the design button and choose exit from the report designer which pops up. That will trigger the exception.

ps. the clock of the forum server seems to be off, you where posting in the future.

Designer in Out-of-browser mode.

Posted: Wed Aug 17, 2011 12:57 am
by Anton Lozovskiy
Hello,

The problem is fixed. The patch is available in prerelease build of on 18 August 2011.

Thank you.