473,395 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

page directive moves each time I view html

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" %>
Nov 18 '05 #1
1 1160
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.

"Mark" <mf****@idonotlikespam.cce.umn.edu> wrote in message
news:On**************@TK2MSFTNGP12.phx.gbl...
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" %>

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: James_101 | last post by:
My training piece is in Authorware. The user logs in with last name and a four-digit number. Authorware sends this user identifier to an asp page called db_read.asp. This file sends a SQL SELECT...
3
by: Janaka | last post by:
Hi All, I'm having a problem with Page Output caching on a page that contains a DataGrid. Basically the page pulls up some data for sales information from the DB. Some of this has to be...
2
by: John Lau | last post by:
Hi, Is there documentation that talks about the page lifecycle, the lifecycle of controls on the page, and the rendering of inline code, in a single document? Thanks, John
3
by: Bruno Paquette | last post by:
I have installed visual studio .net and now i started to write the first few examples from the 70-315 book by Kalani. It looks like all server side code that i put between <% %> doesnt process...
3
by: tshad | last post by:
Does it matter whether Doctype is after the Page line? At the moment, I have my pages as so: <%@ Page Language="VB" trace="false" debug="true" AutoEventWireup="true" ContentType="text/html"...
11
by: Jeff | last post by:
Hi - I'm trying to get my ASP.NET pages to work the same way on my development machine (running from the VS.NET IDE) and on a remote (3rd-party) server. The only way I've been able to come up...
5
by: homertbush | last post by:
When our asp.net pages are rendered out as html the page directive is still in the html. ie. The following page directive is present in the body of the html of the rendered page: <%@ Page...
2
by: igotyourdotnet | last post by:
Is there a way to prevent the master page to reload every time the user makes a selection off of the menu? I want to give it a "Frame" like appearance were only the content section changes with a...
11
by: ra294 | last post by:
I am building a page that needs to recieve some parametes and return blank page (empty response). After I recieve the parametes I write: Response.clear Response.End When I run the page I still...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.