[CLOSED] HI how to add buttons for all tabs?

  1. #1

    [CLOSED] HI how to add buttons for all tabs?

    Hi,

    In my page i have 3 tabs .I am unable to add buttons for all tabs.If i added the buttons in first tab it is visible for only that tab. I don't want to add the same buttons for all tabs.How to add buttons only once for all tabs.

    I am sending the sample design.
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AAA.aspx.cs" Inherits="AAA" %>
    
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title></title>
    </head>
    <body>
        <ext:ScriptManager ID="ScriptManager1" runat="server" />
        <form id="form1" runat="server">
            <ext:ViewPort runat="server" ID="parentPanel">
                <Body>
                    <ext:BorderLayout ID="BL" runat="Server">
                        <Center>
                            <ext:TabPanel ID="TabPanel1" runat="server" ActiveTabIndex="0" MinTabWidth="150"
                                ResizeTabs="true" LayoutOnTabChange="true">
                                <Tabs>
                                    <ext:Tab ID="Tab1" runat="server" Title="<%$Resources:Common,Overview%>" Icon="Tab">
                                        <Body>
                                            
                                        </Body>
                                    </ext:Tab>
                                    <ext:Tab ID="Tab2" runat="server" Title="<%$Resources:Common,Details%>" Icon="Tab">
                                        <Body>
                                            
                                        </Body>
                                    </ext:Tab>
                                    <ext:Tab ID="Tab3" runat="server" Title="<%$Resources:Common,Documents%>" Icon="Tab">
                                        <Body>
                                            
                                        </Body>
                                    </ext:Tab>
                                </Tabs>
                            </ext:TabPanel>
                        </Center>
                    </ext:BorderLayout>
                </Body>
            </ext:ViewPort>
        </form>
    </body>
    </html>
  2. #2

    RE: [CLOSED] HI how to add buttons for all tabs?

    Hi,

    You need to add buttons for TabPanel (not for Tabs)
  3. #3

    RE: [CLOSED] HI how to add buttons for all tabs?

    Hi,

    If possible please provide the sample.

  4. #4

    RE: [CLOSED] HI how to add buttons for all tabs?

    Hi,

    <ext:TabPanel runat="server" Width="300" Height="300">
                <Tabs>
                    <ext:Tab runat="server" Title="Tab1"></ext:Tab>
                    <ext:Tab runat="server" Title="Tab2"></ext:Tab>
                    <ext:Tab runat="server" Title="Tab3"></ext:Tab>
                </Tabs>
                
                <Buttons>
                    <ext:Button runat="server" Text="Button1" />
                    <ext:Button runat="server" Text="Button2" />
                </Buttons>
            </ext:TabPanel>
  5. #5

    RE: [CLOSED] HI how to add buttons for all tabs?

    Hi Vladimir,

    Thanks. It is working fine.
    But the height of button bar is more than necessary. Is it possible to reduce the height.
    Look at the attached image for details.


  6. #6

    RE: [CLOSED] HI how to add buttons for all tabs?

    Hi,

    Try add the following style
    <style type="text/css">
    .x-panel-btns-ct{
    padding: 0px 5px !important;
    }
    </style>

Similar Threads

  1. [CLOSED] Move tabs Tabs Style Google Chrome
    By majunior in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Apr 30, 2013, 12:58 PM
  2. Replies: 7
    Last Post: May 25, 2011, 9:35 AM
  3. [CLOSED] [1.0] Radio buttons that appear as buttons
    By MP in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 24, 2010, 6:28 PM
  4. [CLOSED] [1.0] Buttons
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 21, 2010, 1:57 PM
  5. Image buttons / Custom built buttons
    By conman in forum 1.x Help
    Replies: 2
    Last Post: Jul 15, 2008, 11:01 AM

Posting Permissions