Page 1 of 2

Release UL_2014.01.10: VBSample CustomDesigner does not work

Posted: Fri Jan 17, 2014 8:40 am
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

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Posted: Fri Jan 17, 2014 12:49 pm
by Alex K.
Hello,

We need some additional time for check the issue.

Thank you.

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Posted: Thu Jan 23, 2014 9:41 am
by StepTK
Hello,

any news on this topic!? Thank you!

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Posted: Thu Jan 23, 2014 10:11 am
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.

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Posted: Thu Jan 23, 2014 2:05 pm
by StepTK
Thanks, it works now!

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Posted: Fri Jan 24, 2014 7:28 am
by Alex K.
Hello,

We are always glad to help you!
Let us know if you need any additional help.

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Posted: Thu Dec 11, 2014 1:08 pm
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

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Posted: Fri Dec 12, 2014 6:54 am
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.

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Posted: Fri Dec 12, 2014 7:38 am
by StepTK
Hello,

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

Thank you

Stephan

Re: Release UL_2014.01.10: VBSample CustomDesigner does not

Posted: Fri Dec 12, 2014 12:55 pm
by Alex K.
Hello,

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

Thank you.