Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Server-Side Functionality

v
  • Developers
  • Support Engineers
  • Technical Writers
Clear
Trace Events:

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.