views:

1223

answers:

2

Is it possible to turn off all HTML formatting in Visual Studio 2008? It just totally messes everything up. For example, I'll add a grid with columns, styles, etc. with them all indented and on separate lines. I'll switch to design view or split view and all the work I just did is on one line! It is so frustrating.

I've changed some things in the Options menu but is there any way to turn it off completely?

I don't use design view usually. I enter my tags and controls using source view but sometimes I will switch for a second to look at something.

+2  A: 

Don't use design view. A good asp.net developer doesn't need it. It only brings with it more headaches than benefits.

Kon
+3  A: 

There are some formatting options under Tools-->Options-->Text Editor-->HTML-->Format while there doesn't seem to be an option to turn it off, there may be something there to define how you want it to format.

To reformat the document hit (CTRL+K,CTRL+D) or Edit-->Advanced-->Format Document.

Brian Schmitt
The Format Document worked like a charm! Thanks!
Keith