Page code:
<% @ Page Language = "C #" autoeventwireup = "true" codefile = "tabcontainer. aspx. cs" inherits = "tabcontainer" %>
<% @ Register Assembly = "ajaxcontroltoolkit" namespace = "ajaxcontroltoolkit" tagprefix = "PC3" %>
<! 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"> <br/> <pead runat = "server"> <br/> <title> No title page </title> <br/> </ head> <br/> <body> <br/> <Form ID = "form1" runat = "server"> <br/> <div> <br/> <asp: scriptmanager id = "scriptmanager1" runat = "server"> <br/> </ASP: scriptmanager> <br/> <PC3: tabcontainer id = "tabcontainer1" runat = "server" Height = "57px" width = "218px"> <br/> <PC3: tabpanel id = "tabpanel1" runat = "server" headertext = "favorite fruit"> <br/> <contenttemplate> <br/> <asp: updatepanel id = "updatepanel1" runat = "server"> <br/> <contenttemplate> <br/> <asp: label id = "label1" runat = "server" text = "apple"> </ASP: Label> <br/> <asp: label id = "label2" runat = "server" text = "grapefruit"> </ASP: Label> <br/> <asp: label id = "label3" runat = "server" text = "banana"> </ASP: Label> <br/> </contenttemplate> <br/> </ASP: updatepanel> <br/> </contenttemplate> <br/> </PC3: tabpanel> </P> <p> <PC3: tabpanel id = "tabpanel2" runat = "server" headertext = "favorite"> <br/> <contenttemplate> <br/> <asp: updatepanel id = "updatepanel2" runat = "server"> <br/> <contenttemplate> <br/> <asp: label id = "label4" runat = "server" text = ""> </ASP: Label> <br/> <asp: label id = "label5" runat = "server" text = ""> </ASP: Label> <br/> <asp: label id = "label6" runat = "server" text = ""> </ASP: Label> <br/> </contenttemplate> <br/> </ASP: updatepanel> <br/> </contenttemplate> <br/> </PC3: tabpanel> </P> <p> <PC3: tabpanel id = "tabpanel3" runat = "server" headertext = "Favorite Music"> <br/> <contenttemplate> <br/> <asp: updatepanel id = "updatepanel3" runat = "server"> <br/> <contenttemplate> <br/> <asp: label id = "label7" runat = "server" text = "peaceful"> </ASP: Label> <br/> <asp: label id = "label8" runat = "server" text = "sweet"> </ASP: Label> <br/> <asp: button id = "button1" runat = "server" text = "beautiful"/> <br/> </contenttemplate> <br/> </ASP: updatepanel> <br/> </contenttemplate> <br/> </PC3: tabpanel> <br/> </105: tabcontainer> </P> <p> </div> <br/> </form> <br/> </body> <br/> </ptml>