DESGNTIMESP inserted in HTML Tags in ASP.Net

Discussion in 'ASP .Net' started by =?Utf-8?B?Y29kZXIxMA==?=, May 11, 2004.

  1. Two things

    1. Why does ASP.Net not respect code formatting for the HTML tags. I mean, when I write my HTML, I try to use appropriate tabs and spaces and lines beween my tags, but when I save and open in Design View and come back, my HTML view loses all its code formatting.

    2. ASP.Net has been inserting "DESGNTIMESP" tags in random places in my HTML view, because of which my pages do not look what they are supposed to look like in design view. What are all these extra things ASP.Net is inserting into my HTML view and why does it do that. How do I resolve this. This is very importnat for me to solve this, because I am unable to work with any of aspx pages without losing my tags and formatting and I have to re-write most of my HTML again.

    Thanks
     
    =?Utf-8?B?Y29kZXIxMA==?=, May 11, 2004
    #1
    1. Advertising

  2. Goto
    Tools/Options
    Then "Text Editor/Format" uncheck all options there.

    VS will still modify your HTML but at the lower pace.
    And do not use visual designer to insert controls. Do it manually.

    George.

    "coder10" <> wrote in message
    news:...
    > Two things:
    >
    > 1. Why does ASP.Net not respect code formatting for the HTML tags. I mean,

    when I write my HTML, I try to use appropriate tabs and spaces and lines
    beween my tags, but when I save and open in Design View and come back, my
    HTML view loses all its code formatting.
    >
    > 2. ASP.Net has been inserting "DESGNTIMESP" tags in random places in my

    HTML view, because of which my pages do not look what they are supposed to
    look like in design view. What are all these extra things ASP.Net is
    inserting into my HTML view and why does it do that. How do I resolve this.
    This is very importnat for me to solve this, because I am unable to work
    with any of aspx pages without losing my tags and formatting and I have to
    re-write most of my HTML again.
    >
    > Thanks
     
    George Ter-Saakov, May 11, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dean H. Saxe
    Replies:
    0
    Views:
    1,043
    Dean H. Saxe
    Jan 3, 2004
  2. Zuel
    Replies:
    4
    Views:
    2,170
  3. Rob Nicholson
    Replies:
    3
    Views:
    760
    Rob Nicholson
    May 28, 2005
  4. Replies:
    0
    Views:
    380
  5. Donald Firesmith

    html tags within meta tags allowed?

    Donald Firesmith, Jan 5, 2005, in forum: XML
    Replies:
    5
    Views:
    911
    Andy Dingley
    Jan 8, 2005
Loading...

Share This Page