UserControls inside of Doc Zone's

2 posts, 0 answers
  1. Zdravko
    Zdravko avatar
    1 posts
    Member since:
    Jun 2008

    Posted 16 Jun 2008 Link to this post

    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
  2. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 20 Jun 2008 Link to this post

    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
Back to Top