Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Combine AJAX Control ToolKit Tab with user control

By: a guest on Feb 22nd, 2012  |  syntax: None  |  size: 0.92 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
  2. <%@ Register Src="~/UserControls/FlightControl.ascx" TagName="FlightControl" TagPrefix="uc1" %>
  3.  
  4. <ajaxToolkit:TabContainer ID="TabContainer1" runat="server">
  5.     <ajaxToolkit:TabPanel ID="TabPanel1" runat="server" HeaderText="Flights">
  6.         <ContentTemplate>                
  7.             <uc1:FlightControl id="FlightControl1" Runat="server" />
  8.         </ContentTemplate>
  9.     </ajaxToolkit:TabPanel>
  10. </ajaxToolkit:TabContainer>
  11.        
  12. <ajaxToolkit:TabContainer ID="TabContainer1" runat="server">
  13.     <ajaxToolkit:TabPanel ID="TabPanel1" runat="server" HeaderText="Flights">
  14.         <ContentTemplate>                
  15.             <uc1:FlightControl id="FlightControl1" Runat="server" />
  16.             <uc1:FlightControl id="FlightControl2" Runat="server" />
  17.         </ContentTemplate>
  18.     </ajaxToolkit:TabPanel>
  19. </ajaxToolkit:TabContainer>