ASP .net Ajax Tab

<%@ Register Assembly=”AjaxControlToolkit” Namespace=”AjaxControlToolkit” TagPrefix=”cc1″ %>
<div>   
        <asp:ScriptManager ID=”ScriptManager1″ runat=”server”>
        </asp:ScriptManager>
        <cc1:TabContainer ID=”TabContainer1″ runat=”server” ActiveTabIndex=”0″>
            <cc1:TabPanel ID=”TabPanel1″ runat=”server” HeaderText=”TabPanel1″>
                <ContentTemplate>
                    <asp:TextBox ID=”TextBox1″ runat=”server”></asp:TextBox><br />
                    <asp:Button ID=”Button1″ runat=”server” Text=”Button” />
                </ContentTemplate>
            </cc1:TabPanel>
            <cc1:TabPanel ID=”TabPanel2″ runat=”server” HeaderText=”TabPanel2″>
                <ContentTemplate>
                    <asp:TextBox ID=”TextBox2″ runat=”server”></asp:TextBox><br />
                    <asp:Button ID=”Button2″ runat=”server” Text=”Button” />
                </ContentTemplate>
            </cc1:TabPanel>
            <cc1:TabPanel ID=”TabPanel3″ runat=”server” HeaderText=”TabPanel3″>
                <ContentTemplate>
                    <asp:TextBox ID=”TextBox3″ runat=”server”></asp:TextBox><br />
                    <asp:Button ID=”Button3″ runat=”server” Text=”Button” />
                </ContentTemplate>
            </cc1:TabPanel>
        </cc1:TabContainer>
        <br />
    </div>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s