Designer in Out-of-browser mode.

Stimulsoft Reports.Silverlight discussion
Locked
AVee
Posts: 4
Joined: Fri Aug 12, 2011 3:46 am

Designer in Out-of-browser mode.

Post 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)
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

Designer in Out-of-browser mode.

Post by Anton Lozovskiy »

Hello,

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

Thank you.
AVee
Posts: 4
Joined: Fri Aug 12, 2011 3:46 am

Designer in Out-of-browser mode.

Post 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.
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

Designer in Out-of-browser mode.

Post by Anton Lozovskiy »

Hello,

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

Thank you.
Locked