BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Carlo,
Thanks for contacting Syncfusion support.
Yes we can achieve your requirement, without passing the menu as JSON. We can use the “insert” method in menu to add the menu items dynamically from client side. Please refer the following code,
<script> function onsubmitClick() { //Object for menu item created var obj = $("#mainMenu").ejMenu("instance"); //Use "insert" method to add the menu items dyncamically obj.insert([{ id: 19, text: "Group A", htmlAttribute: { "class": "myclass" }}]); } </script> |
<style type="text/css" class="cssStyles"> .myclass{ float:right; } </style> |
We have attached a sample for your reference, please check it.
Samplelocation http://www.syncfusion.com/downloads/support/forum/121137/ze/SyncfusionMvcApplication1-872460121
Regards,
Gobalakrishnan S