page directive moves each time I view html

M

Mark

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" %>
 
A

Andy Fish

yup, join the club - I have exactly the same problem. I tend to work with
all the files writable and I don't use the VSS integration so it's not so
much of a hassle.

I beleive it's one of a large class of problems that are to do with the way
that Design View and HTML view work, that can't be fixed until whidbey. I
have one form where all the event hookups in InitializeComponent disappear
whenever I switch to design view and back.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top