SHARE
TWEET

Combine AJAX Control ToolKit Tab with user control

a guest Feb 22nd, 2012 20 Never
  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>
RAW Paste Data
Top