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

Repeater in a radDockZone

2 Answers 63 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Alec
Top achievements
Rank 1
Alec asked on 15 Jul 2009, 07:31 AM
I want to create a dock zone which contains a list of docks created dynamically using a repeater. How should I go about doing it? Can I do something like:

<telerik:RadDockZone...>
    <asp:Repeater...
</telerik:RadDockZone>

2 Answers, 1 is accepted

Sort by
0
Alec
Top achievements
Rank 1
answered on 15 Jul 2009, 07:38 AM

I notice that there's this databind method from zone, how do I use it, if I don use repeater?

I tried:

 

radDockZone.Docks = ...

 

radDockZone.DataBind();

but it didnt work. Nor could I find radDockZone.DataSource...

0
Pero
Telerik team
answered on 17 Jul 2009, 09:36 AM
Hi Alec,

This cannot be done because the RadDockZone can only contain controls of type RadDock. Controls of any other type (such as Repeater) cannot be placed inside a zone.

You can use a for loop to create the list of docks dynamically in the code behind.


All the best,
Pero
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Dock
Asked by
Alec
Top achievements
Rank 1
Answers by
Alec
Top achievements
Rank 1
Pero
Telerik team
Share this question
or