Page 1 of 1

StiWebDesigner - Add button to Toolbar / Panel

Posted: Tue Jun 05, 2018 2:02 pm
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

Re: StiWebDesigner - Add button to Toolbar / Panel

Posted: Fri Jun 08, 2018 6:24 am
by Lech Kulikowski
Hello,

Please check the sample in the attachment.

Thank you.