We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

menu items as link

Thread ID:





117765 Dec 9,2014 12:13 PM UTC Dec 10,2014 09:36 AM UTC ASP.NET MVC 1
Tags: Menu
kalpa serashiya
Asked On December 9, 2014 12:13 PM UTC

Hello ,
how to pass url for menu  item
hoe to apply LinkAttribute  for menu item  
if menu  is binded with json data

@Html.EJ().Menu("menujson").MenuFields(f=> f.Datasource((IEnumerable<MenuJson>)ViewBag.datasource).Id("mId")
Pls  reply

Harikrishnan P [Syncfusion]
Replied On December 10, 2014 09:36 AM UTC

Hi Kalpa,

Thanks for using Syncfusion products.

Query: how to pass url for menu item, LinkAttribute for menu item, if menu is binded with json data.

You can refer the following KB task, to know about how to use the above mentioned properties, when menu is created using local data.


Please let us know if you have further queries.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon