Rapid expand and then collapse of RadDock renders empty container

3 posts, 1 answers
  1. #CaughtUp#
    #CaughtUp# avatar
    4 posts
    Member since:
    May 2010

    Posted 03 Nov 2010 Link to this post

    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. Answer
    Pero
    Admin
    Pero avatar
    1156 posts

    Posted 05 Nov 2010 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. #CaughtUp#
    #CaughtUp# avatar
    4 posts
    Member since:
    May 2010

    Posted 08 Nov 2010 Link to this post

    Thanks for your prompt response. setting the enableanimation property of the dock solved the issue.
Back to Top