TabContainer.TabStripPlacement Bottom

Last post 10-31-2008 9:33 AM by BjoernB. 0 replies.

Sort Posts:

  • TabContainer.TabStripPlacement Bottom

    10-31-2008, 9:33 AM
    • Member
      point Member
    • BjoernB
    • Member since 10-27-2008, 8:51 AM
    • Posts 3

    Hi

    I'm currently working with a TabContainer and dynamically created TabPanels.

    I want, that the TabStrips are placed at the bottom. So I placed TabStripPlacement="Bottom" in the asp.net code.

    It works, but the TabStrips look very strange. I used header an contentTemplate to create the tabs with a Tooltip-Label like this.

    How can I fix that problem?

    Thank you in advance.

    Bjorn 

     

    Here is a part of my code.

    asp.net: 
    <ajaxToolkit:TabContainer ID="TabContainerStandorte" runat="server" Width="200px" Height="200px" TabStripPlacement="Bottom">
       <ajaxToolkit:TabPanel ID="TabPanelStandort" runat="server" Visible="true">
          <ContentTemplate>empty</ContentTemplate>
       </ajaxToolkit:TabPanel>       
    </ajaxToolkit:TabContainer>
      

    c#:

     

    AjaxControlToolkit.TabPanel newTabPanel = null;
    AjaxTabHeaderTemplate headerTemplate = null;
    AjaxTabContentTemplate contentTemplate = null;
    newTabPanel = new AjaxControlToolkit.TabPanel();
    
    headerTemplate = new AjaxTabHeaderTemplate(anyString);
    contentTemplate = new AjaxTabContentTemplate(anyString);
    
    newTabPanel.HeaderTemplate = headerTemplate;
    newTabPanel.ContentTemplate = contentTemplate;
    
    TabContainerStandorte.Tabs.Add(newTabPanel );
     
     
Page 1 of 1 (1 items)