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
Insert Menu in StiMobileDesigner
-
- Posts: 40
- Joined: Tue Mar 04, 2014 5:37 pm
Insert Menu in StiMobileDesigner
- Attachments
-
- insertribbonmenu.PNG (21.51 KiB) Viewed 1500 times
Re: Insert Menu in StiMobileDesigner
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>
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>
-
- Posts: 40
- Joined: Tue Mar 04, 2014 5:37 pm
Re: Insert Menu in StiMobileDesigner
Excellent stuff. Thank you
Re: Insert Menu in StiMobileDesigner
Hello,
We are always glad to help you!
We are always glad to help you!