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

UserControls inside of Doc Zone's

1 Answer 78 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Zdravko
Top achievements
Rank 1
Zdravko asked on 17 Jun 2008, 12:01 AM
I have got 2 user control on the same page, and they can communicate together.  However, when i put them inside the doc zones they stop working, and all that is accessible is the actual rad control rather then the actual controls inside it also.  is there anyway to get at the controls inside them?

thanks

1 Answer, 1 is accepted

Sort by
0
Petio Petkov
Telerik team
answered on 20 Jun 2008, 07:16 AM
Hi Zdravko,

I assume tht you are using the RadDock for ASP.NET control. To access the child controls of a RadDockableObject content you can use RadDockableObject.FindControl(string  id) method to locate a child control by its ID.
As an alternative, you can use RadDockableObject.Container property to access the control that contains the controls from the content template. A simple example which illustrates FindControl methoud is available here:
http://www.telerik.com/demos/aspnet/Dock/Examples/HandlingControls/DefaultCS.aspx

If this does not help, please send us running project which will help us to identify the problem. Once we receive it we will do our best to help you.


P.S. Our suggestion for all new development is to use RadDock for ASP.NET AJAX, which is built on top of ASP.NET AJAX. All our new development is concentrated on RadDock for ASP.NET AJAX and most of bugs related to RadDock for ASP.NET are fixed in it. You can find more about it in our online examples here:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Dock/Examples/Overview/DefaultCS.aspx


Sincerely yours,
Petio Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
Zdravko
Top achievements
Rank 1
Answers by
Petio Petkov
Telerik team
Share this question
or