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.
Unfortunately, activation email could not send to your email. Please try again.

menu items as link

Thread ID:

Created:

Updated:

Platform:

Replies:

117765 Dec 9,2014 07:13 AM Dec 10,2014 04:36 AM ASP.NET MVC 1
loading
Tags: Menu
kalpa serashiya
Asked On December 9, 2014 07:13 AM

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")
.Text("mText").ParentId("parentId").SpriteCssClass("spriteClass"))
Pls  reply
Thanks


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

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.

http://www.syncfusion.com/kb/3008/how-to-apply-url-htmlattribute-imageurl-linkattribute-for-menu-items

Please let us know if you have further queries.

Regards,

HariKrishnan


CONFIRMATION

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.

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.

;