StiWebDesigner - Add button to Toolbar / Panel

Stimulsoft Reports.WEB discussion
Post Reply
jmotley91
Posts: 1
Joined: Tue Jun 05, 2018 1:49 pm

StiWebDesigner - Add button to Toolbar / Panel

Post by jmotley91 »

I have done some searching on the forum and I cannot find a way to do this. I am using ASP.NET and attempting to modify the HTML5 Web Designer component directly. If this can be done with HTML or JS, VB or C# I don't really have a language preference, I'm just seeking a way to do it. It seems that there is a way to get at the html components via HTML5 DOM in JS. But, making modifications in this way will be arduous and error prone.

Code: Select all

  var temp = document.getElementById("StiWebDesigner1pasteComponent");
  var myhtml = "<div id=\"myid\" class=\"stiDesignerStandartBigButtonDisabled_Mouse\"> <table class=\"stiDesignerClearAllStyles\" cellpadding=\"0\" cellspacing=\"0\" style=\"height: 100%; width: 100%;\">";
  temp.insertAdjacentHTML('afterbegin', String(myhtml));
I would like to be able to do something similar to what is done in the following sample, except, I would like to do it on the designer.
https://www.stimulsoft.com/en/samples/a ... the-viewer
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: StiWebDesigner - Add button to Toolbar / Panel

Post by Lech Kulikowski »

Hello,

Please check the sample in the attachment.

Thank you.
Attachments
AddCustomButtonToDesigner.zip
(3.23 KiB) Downloaded 176 times
Post Reply