Free Trial Buy Now

NavBar - Server-Side Functionality

Developers
Kevin
John
Barry
Jane
Bob
Support Engineers
Harry
Steven
Technical Writers
Jeff
Jerry
Bill
Choose item:
v
Clear
Trace Events:

Description

This sample demonstrates a few of the server side capabilities of the navbar. Select the desired item from the dropdown editor and define the visual settings of the corresponding navbar item by clicking the buttons. Click any item within the navbar or expand/collapse any group to initiate server-side events which can be traced in the Events monitor.

Each navbar item/group has server-side properties which allow you to manipulate the state of the item/group and so change the visualization of the entire navbar control. Thus, the Enabled property allows you to enable or disable any navbar item/group. By using the Visible property, you can show or hide a particular navbar item/group. The Selected property of an item provides you with the ability to change the item's selected state; the analog of this property for a group object is its Expanded property which specifies the group's expansion state.

The server-side ItemClick and HeaderClick events used in this demo allows you to perform any custom action on the server in response to a click on a menu item or a group header. In this example the ItemClick and HeaderClick events are handled to synchronize the dropdown editor's value with the clicked item or group and to display event information in the Events monitor.

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 ASP.NET Controls 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.