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

Rapid expand and then collapse of RadDock renders empty container

2 Answers 55 Views
Dock
This is a migrated thread and some comments may be shown as answers.
#CaughtUp#
Top achievements
Rank 1
#CaughtUp# asked on 03 Nov 2010, 06:03 AM
Hi All,

If anyone can shed some light on the following issue I am having.
I have several Rad Dock controls on a page and when I try to move (drag) one container but not actually move it altogether, the title bar greys out and then when I try to rapidly expand and collapse another container; eventually that container renders an empty container when in fact it had some data in it before expanding/collapsing it.

2 Answers, 1 is accepted

Sort by
0
Accepted
Pero
Telerik team
answered on 05 Nov 2010, 03:18 PM
Hi,

Could you please give more information about the issue caused by dragging and dropping the docks? The only thing that might be causing problems is the fact that the Width of the control is specified in percents. The RadDock control is designed to be used in fixed layout, and its dimensions should always be specified in pixels. In case you still want to use percents, either of the following solutions should be used:


The problem with the disappearance of the content I believe it is present only when the animations of the control are enabled. Because it takes time for the content to show/hide when expanding/collapsing the dock (with animations enabled), the control cannot correctly calculate the content's and that's why the content disappears. If you think that the users will persistently expand and collapse the dock very quickly, then it is better to disable the animations.

Regards,
Pero
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
#CaughtUp#
Top achievements
Rank 1
answered on 09 Nov 2010, 12:06 AM
Thanks for your prompt response. setting the enableanimation property of the dock solved the issue.
Tags
Dock
Asked by
#CaughtUp#
Top achievements
Rank 1
Answers by
Pero
Telerik team
#CaughtUp#
Top achievements
Rank 1
Share this question
or