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

Putting a RadDock in a separate file

1 Answer 19 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 06 Oct 2008, 07:59 AM
Hi,

I have a page which uses several RadDocks. This makes the code very unclear.
I tried to put a RadDock into a user control but this doesn't work.
What woud be the best way to organize many RadDock in the source code?

Best regards,
Robert

1 Answer, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 06 Oct 2008, 08:34 AM
If you have many labels you should have the same problem:)
You can create them declaratively or you can create dynamically. A simple example which illustrates how to create RadDocks dynamically is available here:
http://demos.telerik.com/ASPNET/Prometheus/Dock/Examples/MyPortal/DefaultCS.aspx
Tags
Dock
Asked by
Robert
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
Share this question
or