2
Answers

How to generate tabs dynamically??

rahil ameen

rahil ameen

17y
4.5k
1
hi,
i am lihar,new member of C# corner and new to .net.
i am developing an application which generates Tabs under tabstrip dynamically depending upon database values.
i managed to get Ajax tabstrip by using the following code to get tabs
    <ajaxToolkit:TabContainer runat="server" ID="TabContainer1" Height="150px"         CssClass=ajax__tab_xp>
            <ajaxToolkit:TabPanel ID="TabPanel3" runat="server" HeaderText="Tab1">
            <ContentTemplate>
            First tab
           </ContentTemplate>
           </ajaxToolkit:TabPanel>
           </ajaxToolkit:TabContainer>

but i am not able to get tabs dynamically[Tabstrip should get tabs depending upon database values]. please help me by sending sample code or by sending suggestions regarding my query...

thanks and regards,

Answers (2)