autosize dock to contents

4 posts, 0 answers
  1. Mark
    Mark avatar
    132 posts
    Member since:
    Feb 2008

    Posted 26 Nov 2009 Link to this post

    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
  2. Mark
    Mark avatar
    132 posts
    Member since:
    Feb 2008

    Posted 27 Nov 2009 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jeroen
    Jeroen avatar
    8 posts
    Member since:
    Feb 2006

    Posted 27 Nov 2009 Link to this post

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

    Posted 27 Nov 2009 Link to this post

    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.
Back to Top