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

Dynamic RadPanelBAr

2 Answers 108 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Guv
Top achievements
Rank 1
Guv asked on 10 Apr 2009, 01:40 PM

Requirements

RadControls version

2008.3.1314.35

.NET version

3.5 SP1

Visual Studio version

2008 SP1

programming language

C#

browser support

all browsers supported by RadControls


PROJECT DESCRIPTION
I would like to be able to create a PanelBar on the fly by using Linq to retrieve the Departments (parents) and Categories (children) from a DB.

While I am new to programming I have had a look at the demos and the support site but I'm unable to find anything similar to what I want to achieve. 

I've attached files that dynamically creates RadGrids (one for Departments and one Categories) but I want to obtain a similar result with the PanelBar where the categories will be loaded when a Department is selected if that Department has categories (children). Otherwise it should just load the Department page.

Is this possible and are there any examples available where this is achieved? While I could hard-code all the links I would prefer to proceed with a dynamic approach if at all possible.

Thanks!

2 Answers, 1 is accepted

Sort by
0
Mahmood
Top achievements
Rank 1
answered on 19 May 2009, 12:10 PM
Hey I'm trying to accomplish something very similar but no luck so far.
0
Guv
Top achievements
Rank 1
answered on 19 May 2009, 07:22 PM
Thanks for the repsonse Mahmood.

Hopefully one of the Telerik gurus will be able to help us out.
Tags
PanelBar
Asked by
Guv
Top achievements
Rank 1
Answers by
Mahmood
Top achievements
Rank 1
Guv
Top achievements
Rank 1
Share this question
or