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:
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.