Jump to content

Como usar os Tabcontainer


dicas3d

Recommended Posts

Olá.

Eu preciso de introduzir tabs num projecto que estou a executar. Um dos meus profs disses para usar o controlo tabcontainer mas agora bem que tento fazê-lo mas não aparece nada.

Uso o web developer 2010.

Como o faço?

Abraços

dicas3d

Link to post
Share on other sites

http://ajaxcontroltoolkit.codeplex.com/releases/view/63654

Fazes o download dessa dll, fazes referencia no projecto.

Adicionas uma Tab nova na lista de controls e vais buscar a dll.

No pojecto adicionas un toolkit script manager.

E o código é.

 <asp:TabContainer runat="server" ActiveTabIndex="0">
        <asp:TabPanel ID="TabPanel1" runat="server" HeaderText="TabPanel1">
        <ContentTemplate>texto1</ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
        <ContentTemplate>texto2</ContentTemplate>
        </asp:TabPanel>
    </asp:TabContainer>

exemplo.jpg

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.