Here is my TabStripHome.ascx:
<%@ Register TagPrefix="ie" Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
<%@ Register TagPrefix="uctab" TagName="tabStripHome"
Src="Controls/tabStripHome.ascx" %>
<%@ Page language="c#" Codebehind="default.aspx.cs" AutoEventWireup="false"
Inherits="CAMSRediLink._default" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>default</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="
http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<uctab:tabStripHome id="tabStripHome" runat="server"></uctab:tabStripHome>
</form>
</body>
</HTML>
Here is the default.aspx:
<%@ Register TagPrefix="ie" Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
<%@ Register TagPrefix="uctab" TagName="tabStripHome"
Src="Controls/tabStripHome.ascx" %>
<%@ Page language="c#" Codebehind="default.aspx.cs" AutoEventWireup="false"
Inherits="CAMSRediLink._default" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>default</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="
http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<uctab:tabStripHome id="tabStripHome" runat="server"></uctab:tabStripHome>
</form>
</body>
</HTML>
And here is the error I get:
Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.
Parser Error Message: The base class includes the field 'tabStripHome', but
its type (Microsoft.Web.UI.WebControls.TabStrip) is not compatible with the
type of control (ASP.tabStripHome_ascx).
Source Error:
Line 13: <body MS_POSITIONING="GridLayout">
Line 14: <form id="Form1" method="post" runat="server">
Line 15: <uctab:tabStripHome id="tabStripHome"
runat="server"></uctab:tabStripHome>
Line 16: </form>
Line 17: </body>
Source File: c:\inetpub\wwwroot\CAMSRediLink\default.aspx Line: 15