473,385 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

visual studio reformatting question

Appologies if this is a wrong newgroup for this question, but i can't find a
visualstudio newgroup (at least not an english one, their is a french and
arabic one)

Anyways, i have a highly annoying problem with visual studio.

Every time i add a new control to the page, visual studio decides to format
my code in its "special format".

So i have code that looks like this:

<table border=0 cellpadding=0>
<tr>
<td>
<asp:TextBox runat=server id=tb />
</td>
</tr>
</table>

Then visual studio reformats it like this.

<table border=0 cellpadding=0>
<tr><td><asp:TextBox runat=server id=tb></asp:Textbox></td></tr></table>
Why? and HOw do i stop this highly ANNOYING function?
Nov 18 '05 #1
3 1557
I am sorry to have to tell you this, but you can't. Even though changes are
made in the VS.NET settings, it seem to ignore it. At best you can use
the "Format the whole document" button (Ctrl + K, Ctrl + D) on the
"HTML Editor" toolbar to reshape the html to a somewhat readable
form.

HTH,

//Andreas
"GrantMagic" <gr***@magicalia.com> skrev i meddelandet
news:eq**************@tk2msftngp13.phx.gbl...
Appologies if this is a wrong newgroup for this question, but i can't find a visualstudio newgroup (at least not an english one, their is a french and
arabic one)

Anyways, i have a highly annoying problem with visual studio.

Every time i add a new control to the page, visual studio decides to format my code in its "special format".

So i have code that looks like this:

<table border=0 cellpadding=0>
<tr>
<td>
<asp:TextBox runat=server id=tb />
</td>
</tr>
</table>

Then visual studio reformats it like this.

<table border=0 cellpadding=0>
<tr><td><asp:TextBox runat=server id=tb></asp:Textbox></td></tr></table>
Why? and HOw do i stop this highly ANNOYING function?

Nov 18 '05 #2
nothing beats Ctrl+Z :-)

Thanks for the advice.
"Andreas Håkansson" <an***************@nospam.com> wrote in message
news:OT**************@TK2MSFTNGP11.phx.gbl...
I am sorry to have to tell you this, but you can't. Even though changes are
made in the VS.NET settings, it seem to ignore it. At best you can use
the "Format the whole document" button (Ctrl + K, Ctrl + D) on the
"HTML Editor" toolbar to reshape the html to a somewhat readable
form.

HTH,

//Andreas
"GrantMagic" <gr***@magicalia.com> skrev i meddelandet
news:eq**************@tk2msftngp13.phx.gbl...
Appologies if this is a wrong newgroup for this question, but i can't
find

a
visualstudio newgroup (at least not an english one, their is a french and
arabic one)

Anyways, i have a highly annoying problem with visual studio.

Every time i add a new control to the page, visual studio decides to

format
my code in its "special format".

So i have code that looks like this:

<table border=0 cellpadding=0>
<tr>
<td>
<asp:TextBox runat=server id=tb />
</td>
</tr>
</table>

Then visual studio reformats it like this.

<table border=0 cellpadding=0>
<tr><td><asp:TextBox runat=server id=tb></asp:Textbox></td></tr></table>
Why? and HOw do i stop this highly ANNOYING function?


Nov 18 '05 #3
Yeah, I use Ctrl + Z frequently to undo the havoc that VS.NET does to the
HTML code, but every now and then I find myself in a sitution where it is
not an option and I have to resort too the "next best thing" :)

I can mention, as a side note, that VS2005 promises to have a robust system
of "dont touch my code" settings ... too bad the final version isn't due
until around
april 2005 =)

//Andreas

"GrantMagic" <gr***@magicalia.com> skrev i meddelandet
news:%2***************@tk2msftngp13.phx.gbl...
nothing beats Ctrl+Z :-)

Thanks for the advice.
"Andreas Håkansson" <an***************@nospam.com> wrote in message
news:OT**************@TK2MSFTNGP11.phx.gbl...
I am sorry to have to tell you this, but you can't. Even though changes are made in the VS.NET settings, it seem to ignore it. At best you can use
the "Format the whole document" button (Ctrl + K, Ctrl + D) on the
"HTML Editor" toolbar to reshape the html to a somewhat readable
form.

HTH,

//Andreas
"GrantMagic" <gr***@magicalia.com> skrev i meddelandet
news:eq**************@tk2msftngp13.phx.gbl...
Appologies if this is a wrong newgroup for this question, but i can't
find

a
visualstudio newgroup (at least not an english one, their is a french and arabic one)

Anyways, i have a highly annoying problem with visual studio.

Every time i add a new control to the page, visual studio decides to

format
my code in its "special format".

So i have code that looks like this:

<table border=0 cellpadding=0>
<tr>
<td>
<asp:TextBox runat=server id=tb />
</td>
</tr>
</table>

Then visual studio reformats it like this.

<table border=0 cellpadding=0>
<tr><td><asp:TextBox runat=server id=tb></asp:Textbox></td></tr></table>

Why? and HOw do i stop this highly ANNOYING function?



Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: angelag | last post by:
I am currently taking a college course in Visual Basic.Net and I am a beginner. I bought Visual Studio.Net 2003 to do my homework at home. I built my first project and e-mailed it to myself at...
1
by: chris mancini | last post by:
I have recently installed Visual Studio .Net 2003 and have noticed that there are problems with formatting in the HTML code page. If I format the HTML the way I want and navigate back to design...
1
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will...
17
by: Ziggi | last post by:
Hi. I want to get a C++ IDE, but I dont know whether to go for Bill Gate's solution or Borland's. Could any kind folks detail the relative strength and weaknesses of both, and also tell me which...
0
by: Sheila Jones | last post by:
Hello, I have an XSLT file to transform XML into HTML. Part of the transformation includes a client side script, which is enclosed in a CDATA section. To illustrate, here is part of the file: ...
17
by: Andi Plotsky | last post by:
I am not a .NET developer. I want the Developer's Edition of Visual Studio for use with my Access2000 databases. Does anyone have a clue as to where to find it - my office manager says only .NET...
9
by: Brian Lowe | last post by:
I'm using Visual Studio to build ASP.Net pages and I'm trying to be standards compliant by using XHTML. In my page I create valid XHTML such as: <ul> <li>first list item</li> <li>second list...
13
by: sck10 | last post by:
Hello, I am trying to find the option VS2K5 that will automatically change HtmlMeta hm=new HtmlMeta(); or HtmlMeta hm = new HtmlMeta(); to HtmlMeta hm = new HtmlMeta(); What I would...
1
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.