On the topic of the menu I think it is not to say, understand, so this article will not talk about these concepts, focus on the use of the Radmenu control in the RadControls control, combined with the database to develop a system menu.
First, the database design
Here I use Access as the sample database, detailed in the following figure:
Table fields are: AutoNumber, menu encoding, menu name, request address, Picture address displayed on menu, shortcut key (Radmenu control support), menu order, menu level limit, end level, and parent menu encoding. The whole design mainly takes the menu coding as the correlation basis.
Ii. registering controls and using the skin of controls
We can add controls to the toolbox and drag them directly onto the ASPX page to OK, and then you can see the following registration command in HTML view:
1 <%@ Register assembly= "Radmenu.net2" namespace= "Telerik.webcontrols" tagprefix= "Rad"%>
It is convenient to use the skin features provided by RadControls, copy the skin files to the project from the installation directory, and then select the desired skin directly on the control to OK. The following figure is Radmenu Select Skin screenshot: