Free Trial Buy Now

NavBar - Data Binding

Description

This demo illustrates how the DevExpress MVC NavBar can be bound to a Model passed to a View from the Controller. The Bind method is used to bind the NavBar to the Model. Note that the NavBar can only be bound to hierarchal data sources, and as such, a Model object passed to the Bind method must support the IHierarchicalEnumerable interface.

The MVC NavBar Extension ships with following data binding methods:

  • Bind(object dataObject);
  • BindToSiteMap(string fileName);
  • BindToSiteMap(string fileName, bool showStartingNode);
  • BindToXML(string fileName);
  • BindToXML(string fileName, string xPath);
Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress MVC Extensions ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.