Loading RadPanelBar Groups and Elements from a Database

Thread is closed for posting
3 posts, 0 answers
  1. Derek
    Derek avatar
    104 posts
    Member since:
    Aug 2008

    Posted 28 Aug 2008 Link to this post

    I'm new to RadControls and am having fun using the different controls. I am trying to load groups and elements in a RadPanelBar based on a group table and an items table in my database. If I can do that my employers will gladly buy the full suite. I looked at the help and I can build up the groups programmatically. Is there a tutorial or an easier way to do this? I can build it up using datasources, but just wondered.  I'm using SQL Server, but the help files show an example using Access and OLEDBConnection.

    Thanks a lot.
  2. Derek
    Derek avatar
    104 posts
    Member since:
    Aug 2008

    Posted 29 Aug 2008 Link to this post

    fixed it myself.
  3. Nikolay
    Nikolay avatar
    1805 posts

    Posted 29 Aug 2008 Link to this post

    Hi Derek,

    Thank you for contacting me.

    I am glad to hear that you managed to resolve your issue.

    Yet, if you want to create groups based on a database, you should programmatically make a RadPanelBarGroupElement for each row of a particular DataTable. In addition, the caption text can be received from a specific column in that table. We are using Access in our examples, because they are easier to setup.

    I am attaching a project demonstrating how to create the groups depending on the database. Depending on your preferences, you can use SQL Server with our controls as well.

    If you have any additional questions, do not hesitate to contact me. I will glad to assist you.

    Kind regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top