raddock fit contents

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

    Posted 20 May 2009 Link to this post

    Hi,
    I have a table on my page with raddockzone and few raddocks. I would like the raddocks to resize automatically to fit their contents.
    I have tried removing any widh/height settings as i understand the raddock acts like a div. But, this simply makes the raddock about 150px in height.

    here is my code..., can you please see what i am doing wrong ?

    Many Thanks
    Mark

     

    <telerik:RadDockLayout runat="server" ID="dockMain" EnableEmbeddedSkins="false" Skin="None">

     

     

    <div style="border: 5px solid white; padding: 5px;">

     

     

    <table id="maintable" style="Width:100%;" cellspacing="0" cellpadding="0">

     

     

    <tr>

     

     

    <td valign="top" style="width:40%;height:100%;background-color:#f4f4f4;">

     

     

    <telerik:RadDockZone MinHeight="400px" runat="server" ID="RadDockZone1" Orientation="vertical" Style="border: 5px solid #f4f4f4;width: 97%;" BackColor="#f4f4f4">

     

     

    </telerik:RadDockZone>

     

     

    </td>

     

     

    <td valign="top" style="width:60%;height:100%;background-color:#f4f4f4;">

     

     

    <telerik:RadDockZone MinHeight="400px" runat="server" ID="rightDockZone" Orientation="vertical" Style="border: 5px solid #f4f4f4;width: 97%;" BackColor="#f4f4f4">

     

     

    <telerik:raddock CssClass="Std" id="dockMaintenanceRenewals" runat="server" Skin="WebBlue" dockmode="Docked">

     

     

    <ContentTemplate>

     

     

     

    </ContentTemplate>

     

     

    </telerik:raddock>

     

     

     

    </telerik:RadDockZone>

     

     

    </td>

     

     

    </tr>

     

     

    </table>

     

     

    </div>

     

     

    </telerik:RadDockLayout>

     

  2. Mark
    Mark avatar
    132 posts
    Member since:
    Feb 2008

    Posted 20 May 2009 Link to this post

    Please ignore this post as i have sorted my issue.
    I was just being dumb !!!!
Back to Top