Ticket DQ42250
Visible to All Users

Load Menu from database

created 19 years ago

How do we dynamically load a menu structure into an ASPxMenu control from a database. We have a table called Menu that has an [Id] column and a [ParentId] column.

Answers

created 19 years ago

We have implemented a small sample illustrating how to build an ASPxMenu dynamically using a DB information. It also shows how to set up different menus for different user roles. Hopefully, it will be helpful and it will not be a problem to adapt it. Further, we are going to publish this as a KB article. So, if you have any suggestions on this subject, we are eager to hear them.
Thanks,
Serge

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.