is there any way to replace the default templates provided in the files menu with our own templates ?
Replace the default templates from stimulsoft with own templates
-
- Posts: 18
- Joined: Mon Jun 06, 2022 5:39 am
Replace the default templates from stimulsoft with own templates
Last edited by paul.thomas on Wed Sep 14, 2022 5:13 pm, edited 1 time in total.
Re: Replace the default templates from stimulsoft with out own templates
Hello,
You could do it if you buy our source code.
Thank you.
You could do it if you buy our source code.
Thank you.
-
- Posts: 18
- Joined: Mon Jun 06, 2022 5:39 am
Re: Replace the default templates from stimulsoft with out own templates
what do you mean by "Buy our source code"? we do have stimulsoft ultimate package is that what you mean?
-
- Posts: 6243
- Joined: Tue Mar 20, 2018 5:34 am
Re: Replace the default templates from stimulsoft with out own templates
Hello,
Please clarify which designer (net, wpf, js, etc) you use and how you call it.
Thank you.
Please clarify which designer (net, wpf, js, etc) you use and how you call it.
Thank you.
-
- Posts: 18
- Joined: Mon Jun 06, 2022 5:39 am
Re: Replace the default templates from stimulsoft with out own templates
we use .net version . we are calling it as per how it is explained in the documents by intializing new object of class StiNetCoreDesigner in .cshtml file.
-
- Posts: 6243
- Joined: Tue Mar 20, 2018 5:34 am
Re: Replace the default templates from stimulsoft with own templates
Hello,
You can add it via script code:
Thank you.
You can add it via script code:
Code: Select all
var designer = new Stimulsoft.Designer.StiDesigner(options, designerId, false);
designer.renderHtml("content");
var newReportPanel = designer.jsObject.options.newReportPanel || designer.jsObject.InitializeNewReportPanel();
var customBigButton = designer.jsObject.NewReportPanelButton("customReportButton", "My Report Button", "BlankReport.png");
//If you want change button image
//customBigButton.image.src = "https://www.google.by/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png";
newReportPanel.childNodes[1].addCell(customBigButton);
customBigButton.action = function () {
var fileMenu = this.jsObject.options.menus.fileMenu || this.jsObject.InitializeFileMenu();
fileMenu.changeVisibleState(false);
setTimeout(function () {
//Write your code here
alert("customReportButton was clicked!");
}, 200);
}