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

Issue when Docking control added at runtime

2 Answers 33 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Abhijeet Yadwadkar
Top achievements
Rank 1
Abhijeet Yadwadkar asked on 21 Apr 2010, 12:26 PM
When i add a docking control at runtime to my page, the control is collapsed by default. When the user expands the control, the area between the Header & Content seems to be deformed. Please find the attached snapshot of the deformed control.

2 Answers, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 23 Apr 2010, 01:26 PM
Hello Abhijeet,

Are you by any chance using dock's TitlebarTemplate? Please note that, the HTML elements (controls) placed inside the TitlebarTemplate need to be floated left (i.e. set float: left). So, please set float: left to all the elements, or wrap the entire content by a <div/> and set float: left to the div.

In case you have specified the width of the dock (or the dockzone where the dock resides) in percents, then you need to apply either of the following fixes:

  • KB article
  • Apply this CSS to the page containing the docks:
    <style type="text/css">
        .rdTitleBar EM
        {
            width: 100% !important;
        }
        .rdCommands
        {
            position: absolute !important;
            right: 7px !important;
        }
    </style>

If this does not help, please send us some sample code demonstrating the issue.


Sincerely yours,
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
Abhijeet Yadwadkar
Top achievements
Rank 1
answered on 26 Apr 2010, 09:24 AM
Thanks Pero.
Your suggestion helped, the issue is resolved.
Tags
Dock
Asked by
Abhijeet Yadwadkar
Top achievements
Rank 1
Answers by
Pero
Telerik team
Abhijeet Yadwadkar
Top achievements
Rank 1
Share this question
or