Release UL_2014.01.10: VBSample CustomDesigner does not work

Stimulsoft Reports.Silverlight discussion
StepTK
Posts: 30
Joined: Fri Oct 25, 2013 10:22 am

Release UL_2014.01.10: VBSample CustomDesigner does not work

Post by StepTK »

Hello,

the Silverlight VB.NET sample "C:\Program Files (x86)\Stimulsoft Reports.Ultimate 2013.3\Samples\Silverlight\VB.Net\Pure\CustomDesigner\"
does not work anymore in prerelease "Release UL_2014.01.10" (release 2013.3 does not work as well).

Compile error:
interface method "Public Property Designer As Stimulsoft.Report.SLDesign.StiSLDesignerControl Implements Stimulsoft.Report.SLDesign.IStiSLDesignerMenu.Designer"
does not exist anymore and 1-2 other compile errors.

After correcting the compile errors i get the following exception during startup initialization:
System.Windows.Markup.XamlParseException occurred
LineNumber=9
LinePosition=47
Message=The invocation of the constructor on type 'Stimulsoft.Report.SLDesign.StiSLDesignerControl' that matches the specified binding constraints threw an exception. [Line: 9 Position: 47]
StackTrace:
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at CustomDesigner.MainPage.InitializeComponent()
at CustomDesigner.MainPage..ctor()
InnerException: System.MissingMethodException
Message=Constructor on type 'CustomDesigner.CustomMenu' not found.
StackTrace:
at Stimulsoft.Base.StiActivator.CreateObject(Type type, Object[] arguments)
at Stimulsoft.Report.SLDesign.StiSLDesignerControl.LoadCustomMenu()
at Stimulsoft.Report.SLDesign.StiSLDesignerControl..ctor(StiReport report)
at Stimulsoft.Report.SLDesign.StiSLDesignerControl..ctor()
InnerException:



Thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Post by Alex K. »

Hello,

We need some additional time for check the issue.

Thank you.
StepTK
Posts: 30
Joined: Fri Oct 25, 2013 10:22 am

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Post by StepTK »

Hello,

any news on this topic!? Thank you!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Post by Alex K. »

Hello,

Sorry for the delay with responce.
In this sample, now you need add the following code in CustomMenu class:

Code: Select all

public CustomMenu(StiSLDesignerControl designer)
{
            InitializeComponent();
            this.designer = designer;
}
Thank you.
StepTK
Posts: 30
Joined: Fri Oct 25, 2013 10:22 am

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Post by StepTK »

Thanks, it works now!
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.
StepTK
Posts: 30
Joined: Fri Oct 25, 2013 10:22 am

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Post by StepTK »

Hello Aleksey,

i have just installed the new version 2014.3:
The constructor of hte CustomMenu is not called anymore (it was working in the older version).
The properties
StiOptions.Silverlight.Designer.UseCustomMenu = True
StiOptions.Silverlight.Designer.CustomMenuType = GetType(CustomMenu)
are marked as obsolete. How do I instantiate the CustomMenu in the new version!?

Thank You
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Post by Alex K. »

Hello,

We made many changes in the themes in last versions. Unfortunately, in the new version it is not available.
On current moment, it is possible only from source code.

Thank you.
StepTK
Posts: 30
Joined: Fri Oct 25, 2013 10:22 am

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Post by StepTK »

Hello,

is it possible to fix it perhaps in the next prerelease?

Thank you

Stephan
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Post by Alex K. »

Hello,

Unfortunately, it is not possible.
Now, it is possible only from source code.

Thank you.
Locked