You can create a Tab control with UserControl in ContentSection and add Tab items from code behind. This helps you to load content with multiple controls inside a tab and provides you a clear structured code.
In order to add the web user control with the user defined structure with multiple controls and elements to a Tab, you can use the LoadControl() method of ASP UserControl class in code behind. Refer to the following steps to create a Tab items from code behind and map user control from code behind.
Refer to the following code examples to add UserControl from code behind.
The following screenshot displays the Tab with the loaded user control and items created from code behind.
Figure 1: Tab with UserControl and Tab items added from code behind
This page will automatically be redirected to the sign-in page in 10 seconds.