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

raddock fit contents

1 Answer 67 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 20 May 2009, 09:20 AM
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>

 

1 Answer, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 20 May 2009, 09:23 AM
Please ignore this post as i have sorted my issue.
I was just being dumb !!!!
Tags
Dock
Asked by
Mark
Top achievements
Rank 1
Answers by
Mark
Top achievements
Rank 1
Share this question
or