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

asp / visual studio question

In visual studio when I lay-out my html code,
Visual studio decides otherwise, and puts all
the lines behind each other. This makes it
difficult to find things you are looking for in
the code. I know I can use <! comment>,
which will bring a line upto the l.h. margin,
but that isn't an option for all the code lines.
Is there a way to do this?

Many thanks,
Adrian.
Oct 28 '06 #1
6 1175
Can you provide us with an example HTML code that Visual Studio formats
weirdly?

Oct 28 '06 #2
Well, I start off with lines like so:
<.....................>
<.....................>
then, after a while, Visual Studio changes my layout
for it to be like so:
<.....................><.....................>
When you are looking for something, that is
a bit difficult, because the layout is one big glorous
mess and things are hard to find.

Adrian.
<di**@illenberger.dewrote in message
news:11**********************@e64g2000cwd.googlegr oups.com...
Can you provide us with an example HTML code that Visual Studio formats
weirdly?

Oct 28 '06 #3
Is that VS2003 dotnet 1.1 or VS2005 dotnet 2.0?

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscali. nl...
In visual studio when I lay-out my html code,
Visual studio decides otherwise, and puts all
the lines behind each other. This makes it
difficult to find things you are looking for in
the code. I know I can use <! comment>,
which will bring a line upto the l.h. margin,
but that isn't an option for all the code lines.
Is there a way to do this?

Many thanks,
Adrian.


Oct 29 '06 #4
Is that VS2003 dotnet 1.1
Adrian

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:%2******************@TK2MSFTNGP03.phx.gbl...
Is that VS2003 dotnet 1.1 or VS2005 dotnet 2.0?

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscali. nl...
In visual studio when I lay-out my html code,
Visual studio decides otherwise, and puts all
the lines behind each other. This makes it
difficult to find things you are looking for in
the code. I know I can use <! comment>,
which will bring a line upto the l.h. margin,
but that isn't an option for all the code lines.
Is there a way to do this?

Many thanks,
Adrian.


Oct 29 '06 #5
In 1.1. it is a known problem with no solution. VS mangles your html when
you switch to the Design View and back. Try to minimize using the Design
View. When you do use it, always switch back to the Html View and press
ctrlZ (Undo) twice. It should restore your formatting.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscali. nl...
Is that VS2003 dotnet 1.1
Adrian

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:%2******************@TK2MSFTNGP03.phx.gbl...
>Is that VS2003 dotnet 1.1 or VS2005 dotnet 2.0?

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscali .nl...
In visual studio when I lay-out my html code,
Visual studio decides otherwise, and puts all
the lines behind each other. This makes it
difficult to find things you are looking for in
the code. I know I can use <! comment>,
which will bring a line upto the l.h. margin,
but that isn't an option for all the code lines.
Is there a way to do this?

Many thanks,
Adrian.




Oct 29 '06 #6
Thank you,

Adrian
--
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:OE****************@TK2MSFTNGP02.phx.gbl...
In 1.1. it is a known problem with no solution. VS mangles your html when
you switch to the Design View and back. Try to minimize using the Design
View. When you do use it, always switch back to the Html View and press
ctrlZ (Undo) twice. It should restore your formatting.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscali. nl...
>Is that VS2003 dotnet 1.1
Adrian

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:%2******************@TK2MSFTNGP03.phx.gbl...
>>Is that VS2003 dotnet 1.1 or VS2005 dotnet 2.0?

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscal i.nl...
In visual studio when I lay-out my html code,
Visual studio decides otherwise, and puts all
the lines behind each other. This makes it
difficult to find things you are looking for in
the code. I know I can use <! comment>,
which will bring a line upto the l.h. margin,
but that isn't an option for all the code lines.
Is there a way to do this?

Many thanks,
Adrian.




Oct 31 '06 #7

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: 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...
1
by: Craig Skrabacz | last post by:
I originally had VB.Net standard installed on my computer. I have subsequently installed Visual Studio .Net 2002 on my computer. I have not uninstalled VB.Net. When I look in my Add/Remove...
5
by: gj | last post by:
I'm working on a build environment for .NET application where the developers are using visual studio and VSS. In order to pull only the changed modules (and any required dependencies) I want to...
1
by: xman | last post by:
very hard is fix exactly group for this question.. but I am sure that some of people here have some experience with these compilers: Visual Studio NET Enterprise Architect 2002 and Visual Studio...
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...
65
by: xuanbai98 | last post by:
I want to know the current support status of c99 on Microsoft Visual Studio. Anyone know whether Microsoft has any plan to support c99 on Visual Studio? Thanks, Xuan
4
by: Andy | last post by:
In visual studio, I have an asp.net project. When I debug, I have to manually attach to aspnet_wp.exe. My project used to automatically attach to this process. How do I get it to automatically...
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: 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
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.