Preface: Not to sound mean or arrogant, but please don't answer this
question unless you have a specific and tested answer. I'm saying this only
because I posted the same quesion earlier and got spammed by this so-called
Microsoft MVP that gave me a very vague answer, followed by a series of
incorrect answers that I had already mentioned were tried, tested and
failed. Sorry I had to start my post like that : - ) but here goes my actual
question:
I'm into writing perfectly indented html, but the .net dev environment is
being overzealous and messing up my html formatting when I switch from
design to code view.
for example, I originally write:
<table>
<tr>
<td>
<asp:label id="lblSuccess" runat="server">
</asp:/label>
</td>
</tr>
</table>
then the dev environment switches it to something like:
<table>
<tr>
<td><asp:label id="lblSuccess" runat="server"></asp:/label>
</td></tr></table>
I'm running the latest version of .net --version 7.1.3088
*****
I've run through the tools/options and placed the envirionment to do the
least amount of microsoftesque-preemptive formatting.
***
Please HELP!!! If there is no solution I think I'm gonna code .net stuff in
notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an MS
developer for years! 8 1759
Jacob,
I also like perfectly indented HTML. This is one of the reasons why I am
using HTML view 99% of time. The Visual Studio messes up the formatting only
if you make changes in Design view and your HTML view has to change
accordingly. Even if you have to switch to design view and to change
something, you still have a chance to restore the formatting when you switch
back to HTML. Locate the changed HTML, select and copy the change to the
clipboard. Then press Ctrl-Z. It should fix the formatting and will undo the
change. Then paste the change from the clipboard back.
Eliyahu
"Jacob Crossley" <ja***********@hotmail.com> wrote in message
news:jR**************@fe25.usenetserver.com... Preface: Not to sound mean or arrogant, but please don't answer this question unless you have a specific and tested answer. I'm saying this
only because I posted the same quesion earlier and got spammed by this
so-called Microsoft MVP that gave me a very vague answer, followed by a series of incorrect answers that I had already mentioned were tried, tested and failed. Sorry I had to start my post like that : - ) but here goes my
actual question: I'm into writing perfectly indented html, but the .net dev environment is being overzealous and messing up my html formatting when I switch from design to code view.
for example, I originally write:
<table> <tr> <td> <asp:label id="lblSuccess" runat="server"> </asp:/label> </td> </tr> </table>
then the dev environment switches it to something like:
<table> <tr> <td><asp:label id="lblSuccess" runat="server"></asp:/label> </td></tr></table>
I'm running the latest version of .net --version 7.1.3088
***** I've run through the tools/options and placed the envirionment to do the least amount of microsoftesque-preemptive formatting. ***
Please HELP!!! If there is no solution I think I'm gonna code .net stuff
in notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an
MS developer for years!
There is no solution at this time.
VS.NET 2002 and 2003 will reformat your HTML when they see fit.
Thankfully, VS.NET 2005 will finally fix this thoroughly hated "feature."
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Jacob Crossley" <ja***********@hotmail.com> wrote in message
news:jR**************@fe25.usenetserver.com... Preface: Not to sound mean or arrogant, but please don't answer this question unless you have a specific and tested answer. I'm saying this
only because I posted the same quesion earlier and got spammed by this
so-called Microsoft MVP that gave me a very vague answer, followed by a series of incorrect answers that I had already mentioned were tried, tested and failed. Sorry I had to start my post like that : - ) but here goes my
actual question: I'm into writing perfectly indented html, but the .net dev environment is being overzealous and messing up my html formatting when I switch from design to code view.
for example, I originally write:
<table> <tr> <td> <asp:label id="lblSuccess" runat="server"> </asp:/label> </td> </tr> </table>
then the dev environment switches it to something like:
<table> <tr> <td><asp:label id="lblSuccess" runat="server"></asp:/label> </td></tr></table>
I'm running the latest version of .net --version 7.1.3088
***** I've run through the tools/options and placed the envirionment to do the least amount of microsoftesque-preemptive formatting. ***
Please HELP!!! If there is no solution I think I'm gonna code .net stuff
in notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an
MS developer for years!
I figured that this was a wonderful Microsoft 'Feature'. Thanks for the
honest answer Steve. Well if anyone from the .net dev team reads this post,
PLEASE roll away this feature before the 2005 release, a patch would be so
much appreciated!
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OR**************@tk2msftngp13.phx.gbl... There is no solution at this time. VS.NET 2002 and 2003 will reformat your HTML when they see fit. Thankfully, VS.NET 2005 will finally fix this thoroughly hated "feature."
-- I hope this helps, Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Jacob Crossley" <ja***********@hotmail.com> wrote in message news:jR**************@fe25.usenetserver.com... Preface: Not to sound mean or arrogant, but please don't answer this question unless you have a specific and tested answer. I'm saying this only because I posted the same quesion earlier and got spammed by this so-called Microsoft MVP that gave me a very vague answer, followed by a series of incorrect answers that I had already mentioned were tried, tested and failed. Sorry I had to start my post like that : - ) but here goes my actual question: I'm into writing perfectly indented html, but the .net dev environment
is being overzealous and messing up my html formatting when I switch from design to code view.
for example, I originally write:
<table> <tr> <td> <asp:label id="lblSuccess" runat="server"> </asp:/label> </td> </tr> </table>
then the dev environment switches it to something like:
<table> <tr> <td><asp:label id="lblSuccess" runat="server"></asp:/label> </td></tr></table>
I'm running the latest version of .net --version 7.1.3088
***** I've run through the tools/options and placed the envirionment to do the least amount of microsoftesque-preemptive formatting. ***
Please HELP!!! If there is no solution I think I'm gonna code .net
stuff in notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an MS developer for years!
Jacob,
I also like perfectly indented HTML. This is one of the reasons why I am
using HTML view 99% of time. The Visual Studio messes up the formatting only
if you make changes in Design view and your HTML view has to change
accordingly. Even if you have to switch to design view and to change
something, you still have a chance to restore the formatting when you switch
back to HTML. Locate the changed HTML, select and copy the change to the
clipboard. Then press Ctrl-Z. It should fix the formatting and will undo the
change. Then paste the change from the clipboard back.
Eliyahu
"Jacob Crossley" <ja***********@hotmail.com> wrote in message
news:jR**************@fe25.usenetserver.com... Preface: Not to sound mean or arrogant, but please don't answer this question unless you have a specific and tested answer. I'm saying this
only because I posted the same quesion earlier and got spammed by this
so-called Microsoft MVP that gave me a very vague answer, followed by a series of incorrect answers that I had already mentioned were tried, tested and failed. Sorry I had to start my post like that : - ) but here goes my
actual question: I'm into writing perfectly indented html, but the .net dev environment is being overzealous and messing up my html formatting when I switch from design to code view.
for example, I originally write:
<table> <tr> <td> <asp:label id="lblSuccess" runat="server"> </asp:/label> </td> </tr> </table>
then the dev environment switches it to something like:
<table> <tr> <td><asp:label id="lblSuccess" runat="server"></asp:/label> </td></tr></table>
I'm running the latest version of .net --version 7.1.3088
***** I've run through the tools/options and placed the envirionment to do the least amount of microsoftesque-preemptive formatting. ***
Please HELP!!! If there is no solution I think I'm gonna code .net stuff
in notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an
MS developer for years!
I figured that this was a wonderful Microsoft 'Feature'. Thanks for the
honest answer Steve. Well if anyone from the .net dev team reads this post,
PLEASE roll away this feature before the 2005 release, a patch would be so
much appreciated!
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:OR**************@tk2msftngp13.phx.gbl... There is no solution at this time. VS.NET 2002 and 2003 will reformat your HTML when they see fit. Thankfully, VS.NET 2005 will finally fix this thoroughly hated "feature."
-- I hope this helps, Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Jacob Crossley" <ja***********@hotmail.com> wrote in message news:jR**************@fe25.usenetserver.com... Preface: Not to sound mean or arrogant, but please don't answer this question unless you have a specific and tested answer. I'm saying this only because I posted the same quesion earlier and got spammed by this so-called Microsoft MVP that gave me a very vague answer, followed by a series of incorrect answers that I had already mentioned were tried, tested and failed. Sorry I had to start my post like that : - ) but here goes my actual question: I'm into writing perfectly indented html, but the .net dev environment
is being overzealous and messing up my html formatting when I switch from design to code view.
for example, I originally write:
<table> <tr> <td> <asp:label id="lblSuccess" runat="server"> </asp:/label> </td> </tr> </table>
then the dev environment switches it to something like:
<table> <tr> <td><asp:label id="lblSuccess" runat="server"></asp:/label> </td></tr></table>
I'm running the latest version of .net --version 7.1.3088
***** I've run through the tools/options and placed the envirionment to do the least amount of microsoftesque-preemptive formatting. ***
Please HELP!!! If there is no solution I think I'm gonna code .net
stuff in notepad until I can get a linux, bsd or UNIX job...lol jk. I've been an MS developer for years!
To be honest I don't think a patch is possible. From what I understand the
cause is rooted deep in Frontpage libraries that are being used way
underneath it all. The only way to fix it is to create a whole new HTML
formatting system, which I *think* is what they've done in Whidbey (VS.NET
2005).
A workaround is to always use HTML view and never use the designer, but
personally I prefer slightly funky HTML formatting over that idea.
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Jacob Crossley" <ja***********@hotmail.com> wrote in message
news:Hy**************@fe25.usenetserver.com... I figured that this was a wonderful Microsoft 'Feature'. Thanks for the honest answer Steve. Well if anyone from the .net dev team reads this
post, PLEASE roll away this feature before the 2005 release, a patch would be so much appreciated!
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message news:OR**************@tk2msftngp13.phx.gbl... There is no solution at this time. VS.NET 2002 and 2003 will reformat your HTML when they see fit. Thankfully, VS.NET 2005 will finally fix this thoroughly hated
"feature." -- I hope this helps, Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Jacob Crossley" <ja***********@hotmail.com> wrote in message news:jR**************@fe25.usenetserver.com... Preface: Not to sound mean or arrogant, but please don't answer this question unless you have a specific and tested answer. I'm saying this only because I posted the same quesion earlier and got spammed by this so-called Microsoft MVP that gave me a very vague answer, followed by a series
of incorrect answers that I had already mentioned were tried, tested and failed. Sorry I had to start my post like that : - ) but here goes my actual question: I'm into writing perfectly indented html, but the .net dev environment is being overzealous and messing up my html formatting when I switch from design to code view.
for example, I originally write:
<table> <tr> <td> <asp:label id="lblSuccess" runat="server"> </asp:/label> </td> </tr> </table>
then the dev environment switches it to something like:
<table> <tr> <td><asp:label id="lblSuccess" runat="server"></asp:/label> </td></tr></table>
I'm running the latest version of .net --version 7.1.3088
***** I've run through the tools/options and placed the envirionment to do
the least amount of microsoftesque-preemptive formatting. ***
Please HELP!!! If there is no solution I think I'm gonna code .net
stuff in notepad until I can get a linux, bsd or UNIX job...lol jk. I've been
an MS developer for years!
I actually only switch to the designer for a reason other than design. When
one switches to the design view, object creation statements are written in
the code behind. Anyway, I'm hoping whidbey is more like an adult
development environment and less like MS word. : - )
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl... To be honest I don't think a patch is possible. From what I understand
the cause is rooted deep in Frontpage libraries that are being used way underneath it all. The only way to fix it is to create a whole new HTML formatting system, which I *think* is what they've done in Whidbey (VS.NET 2005).
A workaround is to always use HTML view and never use the designer, but personally I prefer slightly funky HTML formatting over that idea.
-- I hope this helps, Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Jacob Crossley" <ja***********@hotmail.com> wrote in message news:Hy**************@fe25.usenetserver.com... I figured that this was a wonderful Microsoft 'Feature'. Thanks for the honest answer Steve. Well if anyone from the .net dev team reads this post, PLEASE roll away this feature before the 2005 release, a patch would be
so much appreciated!
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message news:OR**************@tk2msftngp13.phx.gbl... There is no solution at this time. VS.NET 2002 and 2003 will reformat your HTML when they see fit. Thankfully, VS.NET 2005 will finally fix this thoroughly hated "feature." -- I hope this helps, Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Jacob Crossley" <ja***********@hotmail.com> wrote in message news:jR**************@fe25.usenetserver.com... > Preface: Not to sound mean or arrogant, but please don't answer this > question unless you have a specific and tested answer. I'm saying
this only > because I posted the same quesion earlier and got spammed by this so-called > Microsoft MVP that gave me a very vague answer, followed by a series of > incorrect answers that I had already mentioned were tried, tested
and > failed. Sorry I had to start my post like that : - ) but here goes
my actual > question: > > > > I'm into writing perfectly indented html, but the .net dev
environment is > being overzealous and messing up my html formatting when I switch
from > design to code view. > > for example, I originally write: > > <table> > <tr> > <td> > <asp:label id="lblSuccess" runat="server"> > </asp:/label> > </td> > </tr> > </table> > > then the dev environment switches it to something like: > > <table> > <tr> > <td><asp:label id="lblSuccess" runat="server"></asp:/label> > </td></tr></table> > > > I'm running the latest version of .net --version 7.1.3088 > > ***** > I've run through the tools/options and placed the envirionment to do the > least amount of microsoftesque-preemptive formatting. > *** > > Please HELP!!! If there is no solution I think I'm gonna code .net
stuff in > notepad until I can get a linux, bsd or UNIX job...lol jk. I've
been an MS > developer for years! > > > >
Indeed. I try to write all of my runat=server elements onto the page,
switch to design to render the control creating statements, and then do
all of my HTML and whatnot back in html view, never switching to design
mode again. If I add another server element or two, I just write the
instantiating code myself. It isn't worth the hassle.
Someone on the VS.net team blogged about this, and how they just stole
the html rendering from IE rather than spend time writing their own. So
basically IE is rendering your html, and it has no clue about
whitespace, line breaks, or proper attributes (since when does
align=center mean align=middle). So when it "de-renders" back to HTML
view, it tries to make a close approximation of what you had, but it
isn't exact. I tried to find the blog entry but alas, I could not.
--------------------------------
| Scott C. Reynolds |
| Tales from the SharpSide |
| http://www.scottcreynolds.com |
--------------------------------
Jacob Crossley wrote: I actually only switch to the designer for a reason other than design. When one switches to the design view, object creation statements are written in the code behind. Anyway, I'm hoping whidbey is more like an adult development environment and less like MS word. : - )
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message news:%2****************@TK2MSFTNGP10.phx.gbl...
To be honest I don't think a patch is possible. From what I understand
the
cause is rooted deep in Frontpage libraries that are being used way underneath it all. The only way to fix it is to create a whole new HTML formatting system, which I *think* is what they've done in Whidbey (VS.NET 2005).
A workaround is to always use HTML view and never use the designer, but personally I prefer slightly funky HTML formatting over that idea.
-- I hope this helps, Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Jacob Crossley" <ja***********@hotmail.com> wrote in message news:Hy**************@fe25.usenetserver.com...
I figured that this was a wonderful Microsoft 'Feature'. Thanks for the honest answer Steve. Well if anyone from the .net dev team reads this
post,
PLEASE roll away this feature before the 2005 release, a patch would be so much appreciated!
"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message news:OR**************@tk2msftngp13.phx.gbl...
There is no solution at this time. VS.NET 2002 and 2003 will reformat your HTML when they see fit. Thankfully, VS.NET 2005 will finally fix this thoroughly hated
"feature."
-- I hope this helps, Steve C. Orr, MCSD, MVP http://Steve.Orr.net
"Jacob Crossley" <ja***********@hotmail.com> wrote in message news:jR**************@fe25.usenetserver.com. ..
>Preface: Not to sound mean or arrogant, but please don't answer this >question unless you have a specific and tested answer. I'm saying this only
>because I posted the same quesion earlier and got spammed by this
so-called
>Microsoft MVP that gave me a very vague answer, followed by a series
of
>incorrect answers that I had already mentioned were tried, tested and failed. Sorry I had to start my post like that : - ) but here goes my actual
>question: > > > >I'm into writing perfectly indented html, but the .net dev environment is
>being overzealous and messing up my html formatting when I switch from design to code view. > >for example, I originally write: > ><table> > <tr> > <td> > <asp:label id="lblSuccess" runat="server"> > </asp:/label> > </td> > </tr> ></table> > >then the dev environment switches it to something like: > ><table> > <tr> > <td><asp:label id="lblSuccess" runat="server"></asp:/label> > </td></tr></table> > > >I'm running the latest version of .net --version 7.1.3088 > >***** >I've run through the tools/options and placed the envirionment to do
the
>least amount of microsoftesque-preemptive formatting. >*** > >Please HELP!!! If there is no solution I think I'm gonna code .net
stuff
in
>notepad until I can get a linux, bsd or UNIX job...lol jk. I've
been
an
MS
>developer for years! > > > > This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Debbie |
last post by:
Hi
I have developed an application that access an SQL database and installed it on a different machine
The installation is successful but when I try to run the application I get the following...
|
by: Glenn A. Harlan |
last post by:
Why am I receiving the below error when calling - Path.GetTempFileName()
The directory name is invalid.
Description: An unhandled exception occurred during the execution of the
current web...
|
by: Robert |
last post by:
Ref.
Windows 2000 proffessional 5.00.2195 Service pack 4
Internet explorer 6.0.2800.1106
Visual basic .NET Standard 2003
MSDN library for Visual Studio .NET 2003
Microsoft Data Access Component...
|
by: Invalidlastname |
last post by:
Hi,
Our developer team recently started getting the compilation error, see below, once a while running the asp.net web application from Visual Studio 2003 (in debug mode), and we have to rebuild the...
|
by: mcwooq |
last post by:
Hi,
I just installed the VS.Studio 2005 Team Edition for Developper and
encountered
severe problems with debugging ASP.NET 2.0 projects. Even newly empty
created ASP 2.0 projects can't debug...
|
by: fiona |
last post by:
Innovasys Ltd., a leader in help authoring and documentation tools,
today announced the inclusion of a tailored version of the Innovasys
HelpStudio help authoring product, HelpStudio Lite, in the...
|
by: Herman Jones |
last post by:
I'm getting the following error when I build a Class Library project:
Embedding manifest...
Project : error PRJ0002 : Error result 1 returned from
'C:\WINDOWS\system32\cmd.exe'.
It happens with...
|
by: Mark Rae |
last post by:
Hi,
On Friday I attended the Microsoft EVO conference in London where they
talked about Vista, Office 2007 and Exchange 2007 and how they all work
together beautifully, how they were all...
|
by: fischermx |
last post by:
Environment:
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727
Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack...
|
by: Chris Marsh |
last post by:
All
I've been asked run a VM on my development machine, with Windows Server 2003
installed. I've also been asked to then develop against this environment
from the host machine, using Visual...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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...
| |