VS.NET repositions code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tom

    #1

    VS.NET repositions code

    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
  • Ignacio Machin

    #2
    Re: VS.NET repositions code

    Hi tom,

    Tools/ Options/ TextEditor / HTML/XML

    There are two checkboxes under "Apply Automatic Formatting"

    Hope this help,

    --
    Ignacio Machin,
    ignacio.machin AT dot.state.fl.us
    Florida Department Of Transportation

    "Tom" <dariatj@fhlbci n.com> wrote in message
    news:029f01c34b 09$18018ed0$a40 1280a@phx.gbl.. .[color=blue]
    > 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[/color]


    Comment

    Working...