Click here to Skip to main content
15,891,633 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, All
I want to set Ajax TabPanel Header Height
I want to break Header into two lines

I try following code but its not working

XML
<cc1:TabContainer ID="TabContainer1" runat="server" Width="600px" ActiveTabIndex="0">
                       <cc1:TabPanel ID="TabPanel1" runat="server" CssClass="pad1" Width="600px">
                           <HeaderTemplate>
                               <div style="height: 150px; width: 50px;">
                                   <b>Invention</b>
                                   <br />
                                   <b>Disclosure</b>
                               </div>
                           </HeaderTemplate>
                           <ContentTemplate>
                               <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
MSIL
</ContentTemplate>
                        </cc1:TabPanel>
Posted
Updated 17-May-11 5:36am
v2

1 solution

Try a table inside the HeaderTemplate, something like:
XML
<HeaderTemplate>
  <div style="height: 150px; width: 50px;">
      <table> 
          <tr><td> <b>Invention</b> </td></tr>
          <tr><td> <b>Disclosure</b> </td></tr>
      </table>
  </div>
</HeaderTemplate>
 
Share this answer
 
Comments
upatel8 17-May-11 14:55pm    
Hi, No Its Not Working Second Line "Disclosure" is not displaying...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900