Finding the RadDock or DockZone

2 posts, 0 answers
  1. NaturalCause
    NaturalCause avatar
    8 posts
    Member since:
    Mar 2010

    Posted 14 Jun 2010 Link to this post

    Hey,

    I'm currently using version 2010.1.309.35

    I can't "find" rad docks or zones in JavaScript like what is shown http://demos.telerik.com/aspnet-ajax/dock/examples/clientsideapi/defaultcs.aspx

    var zone = $find('ctl00_ph_rdzMain'); 

    This ALWAYS returns null. 

    The HTML has the element:

    <div id="ctl00_ph_rdzMain" class="RadDockZone RadDockZone_Default rdVertical " style="border-color:Transparent;border-width:1px;border-style:solid;width:870px;min-width:10px;min-height:10px;"

    $find is working fine tho because I can find any other telerik control. The only ones I can't fine a anything to do with docking.

    What am i doing wrong :(

  2. NaturalCause
    NaturalCause avatar
    8 posts
    Member since:
    Mar 2010

    Posted 14 Jun 2010 Link to this post

    Well it seems telerik controls don't play nice with jQuery. So any finding of controls done on document ready with jQuery fail...

    Now i know what that problem is. Next problem is when i find the dock. 

    get_closed()

    Always returns false. Why?

    Edit: Oh because I should be checking get_collapsed, :)

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top