Are you allowed to have 2 user ctrls with the same tagprefix? By default it
made them both "uc1".
Here's the HTML:
<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="QCD ata.aspx.vb"
Inherits="DMSI. QCData"%>
<%@ Register TagPrefix="uc1" TagName="_Heade r" Src="_Header.as cx" %>
<%@ Register TagPrefix="uc1" TagName="_Navig ation" Src="_Navigatio n.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>QCData </title>
<meta name="GENERATOR " content="Micros oft Visual Studio .NET 7.1">
<meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaul tClientScript" content="JavaSc ript">
<meta name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<P align="center">
<TABLE id="Table1" style="WIDTH: 779px; HEIGHT: 768px" cellSpacing="0"
cellPadding="0"
width="779" border="0">
<TR>
<TD vAlign="top" align="center" colSpan="1" rowSpan="2">
<TABLE id="Table2" style="WIDTH: 779px; HEIGHT: 752px"
cellSpacing="0" cellPadding="0"
width="779" border="0">
</TABLE>
<TABLE id="Table3" style="WIDTH: 779px; HEIGHT: 768px"
cellSpacing="0" cellPadding="0"
width="779" border="0">
<TR>
<TD style="HEIGHT: 4px">
<uc1:_Header id=_Header1 runat="server"> </uc1:_Header></TD>
</TR>
<TR>
<TD style="HEIGHT: 149px" vAlign="top" align="center">
<TABLE id="Table4" style="WIDTH: 779px; HEIGHT: 702px"
cellSpacing="0" cellPadding="0"
width="779" border="0">
<TR>
<TD style="WIDTH: 52px" vAlign="top" align="left">
<uc1:_Navigatio n id=_Navigation1 runat="server"> </uc1:_Navigation ></TD>
<TD></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</P>
</form>
</body>
</HTML>
"VB Programmer" <Do************ *****@jEmail.co m> wrote in message
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
I created a simple user control and placed it on another page. Often I
get this error:
"Could not reformat the document due to line 27. The original format was
restored."
Line 27 in the HTML is this:
<uc1:_Header id=_Header1 runat="server"> </uc1:_Header></TD></TR>
Any ideas?
Thanks.