By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,885 Members | 1,072 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,885 IT Pros & Developers. It's quick & easy.

DESGNTIMESP inserted in HTML Tags in ASP.Net

P: n/a
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
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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" <an*******@discussions.microsoft.com> wrote in message
news:6F**********************************@microsof t.com...
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

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.