Compatibility with AJAX Manager

3 posts, 0 answers
  1. Joe
    Joe avatar
    44 posts
    Member since:
    Sep 2008

    Posted 04 Jun 2009 Link to this post

    I have 2 Rad Dock controls on my page. I have a button inside Dock1 that on click I am collapsing Dock1 and expanding Dock2. I added the Rad AJAX Manager to the page to Ajaxify this scenario. When I set the AJAX Manager to update Dock1 and Dock2 with the button as the source, I get an error:


    Telerik.Web.UI.RadDockZone can contain only controls of type Telerik.Web.UI.RadDock

    The AJAX Manager is not inside the DockZone.... What am I missing here? Thanks.

  2. Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 05 Jun 2009 Link to this post

    You cannot update only RadDocks via AJAX. You  should update all RadDockZones ( all RadDocks should be docked).
    BTW this functionality could be achieved with JavaScript, e.g. $find("dockClientID").set_collapsed(true).
  3. Joe
    Joe avatar
    44 posts
    Member since:
    Sep 2008

    Posted 05 Jun 2009 Link to this post

    Got it, thanks!
Back to Top