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

rad dock usercontrol

3 Answers 52 Views
Dock
This is a migrated thread and some comments may be shown as answers.
saed
Top achievements
Rank 1
saed asked on 01 May 2014, 10:25 AM
hello to all


i have a web page that load user control ,a user control  sometime contain datagrid ,  chart, ....

my problem when the usercontrol contain dock every thing is fine untill the user move the dock then when the user select another webcontrol  to load that time dock is still showing on  the page .
i will post code if necessary but beacuse the project is big thats why i try to get help without code

thanks
 


 

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 06 May 2014, 10:14 AM
Hello,

Unfortunately I wasn't able to reproduce the behavior that you are describing. Could you, please, specify in more details what is the expected scenario? It would be even better, if you upload a short video showing the exact cases.

And in order to assist you in the most efficient way I would kindly suggest that you provide us with a very simplified runnable project that demonstrates the behavior that you describe. Thus we could test it locally and determine what might be causing the issue that you are experiencing.

Thank you in advance for your cooperation. 

Regards,
Dimitar
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Saed
Top achievements
Rank 1
answered on 06 May 2014, 02:06 PM
many thanks to you Dimitar

i found what is causing problem , if the rad dock is dynamicly created in (radpanal) and dock mode is floating (not docked) problem occur ,so what i did is removing rad panal so problem solved , but why there is problem between floating dynamic docks and rad panal ?

i post this because may be someone face same problem


thanks everyone




0
Danail Vasilev
Telerik team
answered on 08 May 2014, 01:18 PM
Hello Saed,

From the provided information it seems that you are trying to ajaxify a floating dock which is actually a not valid scenario. The reason for that is because a floating dock can be moved on the page and this modifies its position in the DOM tree which was initially inside an UpdatePanel, so that it will be no longer a child of this UpdatePanel.

The problem is that when you move the RadDock and then initiate AJAX request, the UpdatePanel will add a new RadDock control with the same ID on the page, because the original dock will not be inside it.

The solution for this problem is to:
 - Either use UpdatePanels only for adding RadDock controls on the page, which will be immediately docked into a RadDockZone control as shown in this online demo
  - Or wrap the RadDockZone controls with UpdatePanels and prevent the docks from undocking, which is shown here .

More information on the matter is available in Placing a RadDock in an UpdatePanel help article.

Regards,
Danail Vasilev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Dock
Asked by
saed
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Saed
Top achievements
Rank 1
Danail Vasilev
Telerik team
Share this question
or