Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1740
Loading an user control on click of the tab
posted

My requirement is to load the user control only when the user navigates between the tabs by clicking on a tab. By default, WebTab loads all the user control.
I cannot afford loading all the user controls as our controls are extensive in UI and data. We plan to create 4 tabs.

Can this be achieved using the WebTab control? I would appreciate your response!

<ig:WebTab ID="WebTab1" runat="server" Height="200px" Width="300px">

 

<Tabs>

 

<ig:ContentTabItem runat="server" Text="Tab 1" UserControlUrl="WebUserControl1.ascx">

 

</ig:ContentTabItem>

 

<ig:ContentTabItem runat="server" Text="Tab 2" UserControlUrl="WebUserControl2.ascx">

 

</ig:ContentTabItem>

 

</Tabs>

 

</ig:WebTab>

 

 

 

 

 

 

 

Parents Reply Children
No Data