VS.NET repositions code

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Has anyone had this happen.

I'm in a ASP.NET application using c#.

I drag a label and text box to my page. I add a table add
some <tr>'s <td>'s. Then I nest another table, line my
code up so it all indents just the way I like it.

I then switch to design view, then back to HTML view only
to find my code is now repositioned.

Is there some way I can instruct VS.NET to not reposition
my code?

Thanks

Tom
 
Hi tom,

Tools/ Options/ TextEditor / HTML/XML

There are two checkboxes under "Apply Automatic Formatting"

Hope this help,
 
Back
Top