Adjusting height of Multipage control [modified]
-
hi Am using the Tabstrip and Multipage control given in http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/multipage.asp[^] Its working fine.But i need to adjust the height of each tabpage according to the content of that tab. One tab contains only 4 controls where as the other contains 10 controls. I want to set their height according to its content. In each tab,all the controls are placed inside a HtmlTable.I tried to adjust the table's height.but it didnt work. snippet is
<mytab:tabstrip id="myTabStrip1" runat="server" SepDefaultStyle="background-color:#FFFFFF;border-color:#AAAAAA;border-width:1px;border-style:solid;border-top:none;border-left:none;border-right:none;" TargetID="MULTIPage1" TabDefaultStyle="color:#333333;background-color:#e8e8e8;border-color:#AAAAAA;border-width:1px;border-style:Solid;font-family:Verdana;font-size:11px;height:21;text-align:center;" width="70%" TabSelectedStyle="color:#993333;background-color:#FFFFFF;border-bottom:none;" BorderStyle="None"> <mymultipage:Tab Text="Info1" ID="tab0" ToolTip="Info1"></mymultipage:Tab> <mymultipage:TabSeparator></mymultipage:TabSeparator> <mymultipage:Tab Text="Info2" ID="tab1" ToolTip="Info2"></mymultipage:Tab> </mytab:tabstrip> <asp:CheckBox id="chk1" runat="server" Text="CheckOnce"></asp:CheckBox>
Can anyone please suggest me a best way to do this? Thanks -- modified at 1:02 Tuesday 27th February, 2007