This is a migrated thread and some comments may be shown as answers.

Loading RadPanelBar Groups and Elements from a Database

2 Answers 42 Views
Panelbar (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Derek
Top achievements
Rank 1
Derek asked on 28 Aug 2008, 12:59 PM
Hi,
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 Answers, 1 is accepted

Sort by
0
Derek
Top achievements
Rank 1
answered on 29 Aug 2008, 10:10 AM
fixed it myself.
0
Nikolay
Telerik team
answered on 29 Aug 2008, 04:13 PM
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,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Panelbar (obsolete as of Q2 2010)
Asked by
Derek
Top achievements
Rank 1
Answers by
Derek
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or