I am using the menu with a SiteMap. I have a menu item that takes the user to the shopping cart but I would like it to include the number of items in the cart, IE [Cart (2)]. Is there any way to achieve this?
3 Answers, 1 is accepted
0
Accepted
Petur Subev
Telerik team
answered on 30 May 2012, 02:00 PM
Hi Joe,
Basically you can use the overload of the BindTo method which accepts a SiteMap name and configuration method to add your cart details to the end of the text of the item.
e.g.
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.