Insert Menu in StiMobileDesigner

Stimulsoft Reports.WEB discussion
Post Reply
steve3squared
Posts: 40
Joined: Tue Mar 04, 2014 5:37 pm

Insert Menu in StiMobileDesigner

Post by steve3squared »

Hi,

Is there any way of moving the designers controls. e.g. Can I move the Shape control from the Components Menu and place it in the "Main" section (see attached image)

Regards
Attachments
insertribbonmenu.PNG
insertribbonmenu.PNG (21.51 KiB) Viewed 1503 times
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Insert Menu in StiMobileDesigner

Post by Andrew »

Hello,

We do not have an option to customize this panel.
Please use the following code to place the Shape.

<body>
<form id="form1" runat="server">
<cc2:StiMobileDesigner ID="StiMobileDesigner1" runat="server"
OnSaveReport="StiMobileDesigner1_SaveReport"
OnLoadReport="StiMobileDesigner1_GetDataSetOnLoad"
OnCreateReport="StiMobileDesigner1_GetDataSetOnCreate"
OnPreviewReport="StiMobileDesigner1_Preview"
ShowTooltips="true" GlobalizationFile="Localization/en.xml"
Theme="Office2013" ShowAboutButton="true"
/>
</form>
<script type="text/javascript">
var button = jsStiMobileDesigner1.ComponentButton("StiShape_", jsStiMobileDesigner1.options.words["StiShape"], "StiShape.png",
"StandartBigButton", [jsStiMobileDesigner1.options.words["StiShapeHelp"], jsStiMobileDesigner1.HelpLinks["insertcomponent"]]);
// where jsStiMobileDesigner1 = js + (MobileDesigner Id)
jsStiMobileDesigner1.options.controls.groupBlockMainComponents.container.firstChild.addCell(button);
</script>

</body>
steve3squared
Posts: 40
Joined: Tue Mar 04, 2014 5:37 pm

Re: Insert Menu in StiMobileDesigner

Post by steve3squared »

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

Re: Insert Menu in StiMobileDesigner

Post by Alex K. »

Hello,

We are always glad to help you!
Post Reply