Board index » Web Programming » page directive moves each time I view html
|
bhaus
|
page directive moves each time I view html
Web Programming435
We have an ASP.NET 1.1 project in VSS. We have one page where a small snippet of the .aspx code MOVES each time you flip from HTML view to Design view. This results in it 1) always asking us if we want to save our changes, and 2) always prompts us to check out the files from VSS. Below are the two versions that if flips back and forth between. Changing the order of the header/footer does not make a difference. Any ideas on how to make it stop? Thanks in advance! -Mark **** OPTION 1 **** <%@ Page language="c#" Codebehind="default_authorized.aspx.cs" AutoEventWireup="false" Inherits="myNamespace.default_authorized" %> <%@ Register TagPrefix="uc1" TagName="header" Src="header.ascx" %> <%@ Register TagPrefix="uc1" TagName="footer" Src="footer.ascx" %> **** OPTION 2 **** <%@ Register TagPrefix="uc1" TagName="footer" Src="footer.ascx" %> <%@ Register TagPrefix="uc1" TagName="header" Src="header.ascx" %> <%@ Page language="c#" Codebehind="default_authorized.aspx.cs" AutoEventWireup="false" Inherits="myNamespace.default_authorized" %> - |
