Since Q2 2014 the RadMenu can be bound to RadClientDataSource control.
This functionality is provided out of the box through the server-side ClientDataSourceID property.
RadMenu needs the following properties in order to load its items properly:
- DataFieldID—defines the data source field name which will be associated with the unique identifier of the item.
- DataFieldParentID—defines the data source field name which will be associated with the parent ID of the item.
- DataText—defines the data source field name which will be shown as a text of the item.
- DataValue—defines the data source field name which will be considered as a value of the item.
- DataNavigateUrlField—defines the data source field name which will be considered as a navigate URL of the item.
Note: The client data source control is populated with demo data when fetch command is triggered.