Hi All,
Is there anyway to prevent/switch off the VS.NET IDE from mangling up my
HTML when I switch between HTML (source) view and Design view and then back?
I have HTML coding standards with regards to indentation that the IDE keeps
wanting to screw up for me.
Thanks!
Corey.
darrel - 24 Sep 2004 22:30 GMT
> Is there anyway to prevent/switch off the VS.NET IDE from mangling up my
> HTML when I switch between HTML (source) view and Design view and then back?
No.
> I have HTML coding standards with regards to indentation that the IDE keeps
> wanting to screw up for me.
That's MS for you. ;o)
To be fair to them, they claim this will all be fixed in the next release.
To be fair to us, this should have been fixed a long time ago.
-Darrel
clintonG - 25 Sep 2004 06:24 GMT
With $40 billion in cash reserves it should have never happened in the
first place.
Another bug to note is the fact that switching from the Designer to HTML
and back will remove runat="server" when used with the <title> element.

Signature
<%= Clinton Gallagher, "Twice the Results -- Half the Cost"
Architectural & e-Business Consulting -- Software Development
NET csgallagher@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/
> > Is there anyway to prevent/switch off the VS.NET IDE from mangling up my
> > HTML when I switch between HTML (source) view and Design view and then
[quoted text clipped - 12 lines]
>
> -Darrel
"Gary Chang" - 27 Sep 2004 06:10 GMT
Hi Corey,
Just as Darrel replied, the problem that VS.NET will
auto-formatting(sometimes mis-formatting) the html source when switching
between design-view and html-view is a known issue of the VS.NET's current
version. However this issue is already fixed in the VS.NET 2005(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
At this time, we don't have the hotfix for VS.NET 2003 to this issue. But
we do understand the inconvenience it brings to the VS.NET users and
apologize for it.
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.
--------------------