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

Compatibility with AJAX Manager

2 Answers 72 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 04 Jun 2009, 02:58 PM
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 Answers, 1 is accepted

Sort by
0
Obi-Wan Kenobi
Top achievements
Rank 1
answered on 05 Jun 2009, 11:32 AM
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).
0
Joe
Top achievements
Rank 1
answered on 05 Jun 2009, 02:01 PM
Got it, thanks!
Tags
Dock
Asked by
Joe
Top achievements
Rank 1
Answers by
Obi-Wan Kenobi
Top achievements
Rank 1
Joe
Top achievements
Rank 1
Share this question
or