I am getting this error " The base class includes the field 'headermain', but its type (Headermain) is not compatible with the type of control (ASP.include_headermain_ascx). "
in line :
<TD vAlign="top" align="left" width="100%" colSpan="2"><uc1:headermain id="headermain" runat="server"></uc1:headermain ></TD>
Please find my code :
The name space ,i am using is this
<%@ Register TagPrefix="uc1" TagName="Leftmain" Src="include/Leftmain.ascx" %><%@ Register TagPrefix="uc1" TagName="Leftmain" Src="include/Leftmain.ascx" %> <%@ Register TagPrefix="uc1" TagName="Headermain" Src="include/Headermain.ascx" %>
The code is
<TD vAlign="top" align="left" width="100%" colSpan="2"><uc1:headermain id="headermain" runat="server"></uc1:headermain></TD> <TD vAlign="top" align="left" width="200" height="100%"><uc1:leftmain id="leftmain" runat="server"></uc1:leftmain></TD> <TD vAlign="top" align="left" width="690" height="100%">
The Solution which i got has just solved my bugs,Please find my post on forums.asp.net at http://forums.asp.net/t/1468479.aspx
The solution i got is:<TR>
<TD vAlign="top" align="left" width="100%" colSpan="2"><uc1:headermain runat="server"></uc1:headermain></TD>
</TR>
<TR>
<TD vAlign="top" align="left" width="200" height="100%"><uc1:leftmain runat="server"></uc1:leftmain></TD>
<TD vAlign="top" align="left" width="690" height="100%">
//-----------------------------------------------------------------------------------------------
Hope this post will help you,
if yes please put comment below of this page,
Rajesh Singh,
Asp.Net Developer
Indianic Infotech Ltd (India)
rajesh@indianic.com