This question is locked. New answers and comments are not allowed.
Please could we have an example of the NON hierarchical binding example in Razor as the webforms version throws error when using Razor syntax.- doesn't like the first pram in BindTo.
I am building a menu bar where each item is using separate query - Brands, Categories and items from aggregate calculations using a template..
It looks like several separate single menus is a better way to go than a complex ViewModel and hierarchical menu.
Also, how to inject model values into a Menu Template, including
This is being used in _layout so ViewBag / ViewData only way to access Models in View.
Unlesss there is a better way to do this, of course.
Thanks
Phil,Allen
I am building a menu bar where each item is using separate query - Brands, Categories and items from aggregate calculations using a template..
It looks like several separate single menus is a better way to go than a complex ViewModel and hierarchical menu.
Also, how to inject model values into a Menu Template, including
Ajax.ActionLinkThere don't appear to be any examples of this and I must say the facilities for binding with the Menu somewhat of the pace.
This is being used in _layout so ViewBag / ViewData only way to access Models in View.
Unlesss there is a better way to do this, of course.
Thanks
Phil,Allen