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

Server-Side Functionality

v
  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Sep
  • Oct
  • Nov
  • Dec

Clear
Trace Events:

This sample demonstrates a few of the server-side capabilities of the menu control. Select the desired item from the dropdown editor and define the visual settings of the corresponding menu item by clicking the appropriate button(s). Click any menu item to initiate the server-side ItemClick event which can be traced in the Events monitor.

Each menu item has server-side properties which allow you to manipulate the item's state and so change the visualization of the entire menu control. The Enabled property allows you to enable or disable any menu item. By using the Visible property, you can show or hide menu items, and the Selected property provides you with the ability to change an item's selected state.

The server-side ItemClick event used in this demo allows you to perform any custom action your business needs require on the server in response to a click on a menu item. In this example the ItemClick event is handled to synchronize the dropdown editor's value with the clicked item and to display information about the event in the Event monitor.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxNavigationAndLayoutDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxNavigationAndLayoutDemos