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

autosize dock to contents

3 Answers 134 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 26 Nov 2009, 09:27 AM
Hi,
I am trying to autosize a raddock to its contents. I have a raddock that contains a grid.
I have just moved to Q3 2009, and was previously using Q2 2008.

I have not entered a value for the raddock height, and this used to autosize the height of the raddock to the grid. This does not seem to happen now..

Any ideas please ?
Many Thanks
Mark

3 Answers, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 27 Nov 2009, 08:53 AM
Any help on this please, as this is the only issue that is stopping me launching my Q3 2009 upgrade to my users... ?

Thanks
Mark
0
Jeroen
Top achievements
Rank 2
answered on 27 Nov 2009, 10:56 AM
I'm using the Q3 RadDock's and don't seem to have a problem with autosizing. Could you show some code ? maybe I can solve it for you.
0
Pero
Telerik team
answered on 27 Nov 2009, 01:28 PM
Hi Mark,

Please test the project attached to the thread. Move to the last page of the RadGrid and you will notice that the RadDock will resize according to its content.

In case you are talking about the spacing that is present around the RadDock's content, you can remove it using the following CSS code:

<style type="text/css">
    .rdLeft, .rdBottom, .rdRight
    {
        display: none !important;
    }
    .RadDock
    {
        border: 1px solid #828282;
        border-top: none;
    }
</style>


With Q3.2009 we have introduced an improved rendering that solves a number of previous issues reported by our customers. This spacing is due to these changes in the dock's rendering.

Greetings,
Pero
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Dock
Asked by
Mark
Top achievements
Rank 1
Answers by
Mark
Top achievements
Rank 1
Jeroen
Top achievements
Rank 2
Pero
Telerik team
Share this question
or