Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoiding the interface to change our layout
Message
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00958613
Message ID:
00959257
Views:
12
Hi Michel,

You can't control the automatic reformating of the file in VS 2003. They are fixing this for VS 2005. The MS team realizes this is a bug.

>I have defined an ASP.NET page and, as usual, after I have added some controls on it and etc., I again find that the interface is deciding how to display all that code. For example, that is the code I have in a test page:
>
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML>
>	<HEAD>
>		<TITLE>Montreal FoxPro User Group</TITLE>
>	</HEAD>
>	<body>
>		<form id="Form1" method="post" runat="server">
>			<P><INPUT type="text" name="FirstName"></P>
>			<P><asp:button id="ShowText" runat="server" Text="Show the text"></asp:button> 
>				<asp:button id="Previous" style="BORDER-RIGHT: 4px ridge; BORDER-TOP: 4px ridge;
>                                     FONT-WEIGHT: bold; BORDER-LEFT: 4px ridge; COLOR: white; BORDER-BOTTOM: 4px ridge;
>                                     FONT-FAMILY: Tahoma; BACKGROUND-COLOR: purple; font-: 16pt"
>                                 	runat="server" Text="I'm an ASP.NET server control Button!"></asp:button> 
>			</P>
>			<P></P>
>			<P><asp:button id="RunOnClientSide" runat="server" Text="Run on client side"></asp:button></P>
>		</form>
>
>		<!--#INCLUDE FILE="Header.html" -->
>		<P><asp:label id="Meeting" runat="server"></asp:label></P>
>		<A HREF="Index.aspx">Main page</A>
>		<!--#INCLUDE FILE="Footer.html" -->
>		<script>
>function ShowAlert(tcText)
>{
>   alert(tcText)
>}
>		</script>
>	</body>
></HTML>
>
>
>As you can see, the indentation is weird and this is something I would like to control. Is there a way to achieve that?
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform