BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Hi Gomtesh,
Yes we have Menu component in our JS suite using which you can achieve your requirement using Angular JS. You can refer the following link to know about the Angular support in Syncfusion JS component.
http://help.syncfusion.com/ug/js/documents/angularjs.htm
Refer the following link to know about how to implement Angular support in Menu component
http://help.syncfusion.com/ug/js/default.htm#!documents/integration2.htm
We need to inject the ‘ejAngular’ in the module. Please refer the following code
<script> angular.module('syncApp', ['ejangular']).controller('menuCtrl', function ($scope) { }); </script> |
We have attached a simple sample in the following location to showcase this.
Sample Location : Angular SPA sample
Please let us know if you have any other queries.
Regards,
Hi Gomtesh,
Thanks for your update.
We have prepared a simple sample using HTML files, also we have used Angular routeprovider. Can you please check with the sample in the following location?
Sample Location : Angular JS Sample
While specifying the module, we need to inject the ‘ejAngular’ as shown below.
var app = angular.module("app", ['ngRoute', 'ejangular']); |
Also run the above sample in web server (like IIS), because Ng-route needs webserver to function properly. In the above sample you can see that we have declared the ejMenu control using the directive ' ej-menu’. Please check with the provided sample and let us know if it helps.
Please get back to us if need further assistance.
Regards,
HariKrishnan
Hi Gomtesh,
Thanks for the update,
We have analyzed your requirement (display the dropdown list and dropdown menus which redirects to their respective pages). We can achieve your requirement using our SplitButton control by setting the buttonMode property of as DropDown. Also you can get selected option from the split button dropdown using client side event itemSelected (event that Fires when a menu item is clicked successfully).
Please refer the below code snippet:
[html] <button id="splitbuttonnormal" ej-splitbutton e-buttonmode="DropDown" e-targetid="menu1" e-itemselected="ItemSelected"> Save </button> <ul id="menu1"> <li><span><a rel='nofollow' href="#logIn">LogIn</a></span></li> <li><span><a rel='nofollow' href="#logout">Log Out</a></span></li> <li><span><a rel='nofollow' href="#Account">Profile</a></span></li> </ul> </div> |
[script] function ItemSelected(args) { alert("selected " + args.text); } |
Please let us know if you have further queries,
Regards,
Sasikala Nagarajan