When I am dev a ASP.net application and switch between Design and HTML in
VS, the HTML code's layout is modified by putting Carriage Returns.
For instance I keep each control per line and when switching between views
it scrambles the clean lines into unreadable garbage. I tried changing the
"Word Wrap" checkbox in options, but it didnt do anything to correct the
problem. I have it unchecked, which is the default.
Please help,
This is a pain,
Steve
"Gary Chang" - 18 Sep 2004 07:05 GMT
Hi Steve,
The problem that VS.NET will auto-formatting the html source when switching
between design-view and html-view is a known
issue to the VS.NET 2003 IDE,it is to be fixed in the next version of the
VS.NET 200(Whidbey):
#Preview of Web Development with Visual Studio Whidbey-----Better Source
Code Editing
http://msdn.microsoft.com/library/en-us/dnaspp/html/webdevinwhidbey.asp?fram
e=true#webdevinwhidbey_topic1
But for the current version of VS.NET, I am afraid we havn't any resolution
now, we apologize for any inconvenience it brings to you.
Thanks for your understanding!
Best regards,
Gary Chang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Mikhail Arkhipov (Microsoft) - 20 Sep 2004 00:11 GMT
The issue has nothing to do with word wrap. It has do to with how Design
view works. Unfortunately, VS 2003 does not guarantee preservation of your
formatting. You can find some more information along with some possible
mitigations here
http://weblogs.asp.net/mikhailarkhipov/archive/2004/05/16/132886.aspx
Thanks
Mikhail Arkhipov (Microsoft)
-- This post is provided 'AS IS' with no warranties and confers no rights.
On 9/17/04 10:16, in article udgJahNnEHA.1564@TK2MSFTNGP09.phx.gbl,
> When I am dev a ASP.net application and switch between Design and HTML in
> VS, the HTML code's layout is modified by putting Carriage Returns.
[quoted text clipped - 9 lines]
>
> Steve