Author: hossein007 | Posted on: 7/16/2009 1:12:11 PM | Views : 315

I have a user control containing the following mark-up :

<%@ Control Language="C#" AutoEventWireup="false" CodeFile="tab.ascx.cs" Inherits="tab" %>
<asp:Literal ID="ltl_Tabs" runat="server"></asp:Literal>
<asp:PlaceHolder ID="ph_Content" runat="server">
</asp:PlaceHolder>

I have also a child user control which uses the above user control in it with the following markup :



        
<%@ Control Language="C#" AutoEventWireup="false" CodeFile="city_tabs.ascx.cs" Inherits="Pages_City_Tab_city_tabs" %>



<%@ Register TagName="Tab" TagPrefix="Tab" Src="../../UserControls/tab.ascx" %>

<Tab:Tab NumberOfTabs="3" TabsUrl="#,#,#" TabsText="a,b,c" Sel ...

Go to the complete details ...