473,322 Members | 1,494 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,322 software developers and data experts.

Visual studio (asp.net) question

Hello,

Visual studio change my coding style all the time!

For example:
I place a control on one line in HTML view.
I close and open the same page again and... the control code is placed over
multiple lines.

I don't want that.
What can I do about this?

Thanks!
Nov 18 '05 #1
5 967
Tools...Options

Text Editor category...HTML/XML sub-category

Format sub-category

Then change the Auto-Format Options as needed.
"Arjen" <bo*****@hotmail.com> wrote in message
news:cl**********@news3.zwoll1.ov.home.nl...
Hello,

Visual studio change my coding style all the time!

For example:
I place a control on one line in HTML view.
I close and open the same page again and... the control code is placed
over
multiple lines.

I don't want that.
What can I do about this?

Thanks!

Nov 18 '05 #2
Thanks!,
Arjen


"Scott M." <s-***@nospam.nospam> schreef in bericht
news:O0****************@TK2MSFTNGP10.phx.gbl...
Tools...Options

Text Editor category...HTML/XML sub-category

Format sub-category

Then change the Auto-Format Options as needed.
"Arjen" <bo*****@hotmail.com> wrote in message
news:cl**********@news3.zwoll1.ov.home.nl...
Hello,

Visual studio change my coding style all the time!

For example:
I place a control on one line in HTML view.
I close and open the same page again and... the control code is placed
over
multiple lines.

I don't want that.
What can I do about this?

Thanks!


Nov 18 '05 #3
This won't help. It's a known problem. The change in formatting happens when
you switch in Design view and change something there. Many designers avoid
using Design view because of that.

Eliyahu

"Scott M." <s-***@nospam.nospam> wrote in message
news:O0****************@TK2MSFTNGP10.phx.gbl...
Tools...Options

Text Editor category...HTML/XML sub-category

Format sub-category

Then change the Auto-Format Options as needed.
"Arjen" <bo*****@hotmail.com> wrote in message
news:cl**********@news3.zwoll1.ov.home.nl...
Hello,

Visual studio change my coding style all the time!

For example:
I place a control on one line in HTML view.
I close and open the same page again and... the control code is placed
over
multiple lines.

I don't want that.
What can I do about this?

Thanks!


Nov 18 '05 #4
Actually these setting changes will help if you turn off the apply changes
when switching from design view to html view checkbox.
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:uP**************@tk2msftngp13.phx.gbl...
This won't help. It's a known problem. The change in formatting happens
when
you switch in Design view and change something there. Many designers avoid
using Design view because of that.

Eliyahu

"Scott M." <s-***@nospam.nospam> wrote in message
news:O0****************@TK2MSFTNGP10.phx.gbl...
Tools...Options

Text Editor category...HTML/XML sub-category

Format sub-category

Then change the Auto-Format Options as needed.
"Arjen" <bo*****@hotmail.com> wrote in message
news:cl**********@news3.zwoll1.ov.home.nl...
> Hello,
>
> Visual studio change my coding style all the time!
>
> For example:
> I place a control on one line in HTML view.
> I close and open the same page again and... the control code is placed
> over
> multiple lines.
>
> I don't want that.
> What can I do about this?
>
> Thanks!
>
>



Nov 18 '05 #5
Actually I've decided that as long as the changes won't render my work
unusable, I won't care that.
The formating feature(except removal of / at the end of tags that need not
be closed) is not that unacceptable indeed.
Changing to design view and back will let VS.NET IDE check to see if I have
missing server side declaration and wiring in my work and save me time for
checking that, so I can focus on checking other things.

"Eliyahu Goldin" <re*************@monarchmed.com> ¦b¶l¥ó
news:uP**************@tk2msftngp13.phx.gbl ¤¤¼¶¼g...
This won't help. It's a known problem. The change in formatting happens when you switch in Design view and change something there. Many designers avoid
using Design view because of that.

Eliyahu

"Scott M." <s-***@nospam.nospam> wrote in message
news:O0****************@TK2MSFTNGP10.phx.gbl...
Tools...Options

Text Editor category...HTML/XML sub-category

Format sub-category

Then change the Auto-Format Options as needed.
"Arjen" <bo*****@hotmail.com> wrote in message
news:cl**********@news3.zwoll1.ov.home.nl...
Hello,

Visual studio change my coding style all the time!

For example:
I place a control on one line in HTML view.
I close and open the same page again and... the control code is placed
over
multiple lines.

I don't want that.
What can I do about this?

Thanks!



Nov 18 '05 #6

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

Similar topics

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...
11
by: olle | last post by:
Hi everyone. I am an Access developer having worked with Access-dev. projects for many years on Sql server databases and Access. For the internet I have been using traditional asp. But now I have...
16
by: TB | last post by:
Hi all: If you think that the following comments are absolute amateurish, then please bear with me, or simply skip this thread. A couple of months back I made the decision to initiate a...
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
1
by: khalfan | last post by:
Assignment Objectives: The objective of this assignment is to design and develop a dynamic web site application with the use of ASP to create a database and manipulate the information. ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...

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.