I created a user control with tab container in my project. I want to access the tab container from aspx page for the reason of disable the some tabs. For example i need to hide the first tab and third tab dynamically from aspx page. Because i am using the same user control for different page. Please help me to fix this issue.
<%@ Register TagPrefix="cust" TagName="Creation" Src="~/Cust_Creation.ascx" %>
<div>
<cust:Creation ID="uc_more_pack" runat="server" />
</div>
I
Create public property on usercontrol:
Eg.
Set then from .aspx.cs page:
Use the property to set the controls in UserControl: