DJME 2 Navigation extensions can be bind to Xml, SiteMap file and custom data object model.
Binding to default Xml format:
When using the Bind(string xmlUri) method to binding Xml data the Xml format must be like below:
Binding to custom Xml format:
use the Bind(string xmlUri,MapAction
e.g:
store.xml
BindSiteMap allows you bind the ASP.NET sitemap file to navigation extensions.
There are some enhance of the sitemap file, in order to generate url for MVC you could add “action”,”controller” attribute in sitemapNode element.
e.g:
Chia sẻ: |