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

automatic HTML/XML code formatting in VS2003

Hello, All!

I have some trouble with subject.
Maybe it is not trouble at all, but i need a good advise.
I have just tried to write simple ASPX page in HTML view.
Everything was good.
Auto-farmatting feature been worked well.
It was make right indents, quotes and ect.
Just like below:

<body>
<form id="MyForm" runat="server">
<table border="0">
<tr>
<td>
Text
</td>
</tr>
</table>
</form>
</body>

Then, in some time i opened my code and i've been
very suprised when i was looked at my code.
Code was formatted automatically in
something like that:

<body>
<form id="MyForm" runat="server">
<table border="0"><tr>
<td>
Text</td>
</tr></table></form>
</body>

What is it???
Where my nice indents?
And such things happes everytime i'm changing
HTML and visual view.
All my walkings thought the editor settings
not give me success.
Please help.
How can i fix it.

With best regards, Dymov Vlad. E-mail: twirpx@@@mail.ru

Jul 21 '05 #1
1 1486
Hey Vlad,
Are you using GridLayOut or FlowLayOut?
No matter what you'r using, the current version of .NET is VERY dangerouse
to html writers -
..Net edit, delete, change, add html code without asking you the second you
enter the DESING window.

-- Joey
"Dymov Vlad" <tw****@mail.ru> wrote in message
news:eo**************@tk2msftngp13.phx.gbl...
Hello, All!

I have some trouble with subject.
Maybe it is not trouble at all, but i need a good advise.
I have just tried to write simple ASPX page in HTML view.
Everything was good.
Auto-farmatting feature been worked well.
It was make right indents, quotes and ect.
Just like below:

<body>
<form id="MyForm" runat="server">
<table border="0">
<tr>
<td>
Text
</td>
</tr>
</table>
</form>
</body>

Then, in some time i opened my code and i've been
very suprised when i was looked at my code.
Code was formatted automatically in
something like that:

<body>
<form id="MyForm" runat="server">
<table border="0"><tr>
<td>
Text</td>
</tr></table></form>
</body>

What is it???
Where my nice indents?
And such things happes everytime i'm changing
HTML and visual view.
All my walkings thought the editor settings
not give me success.
Please help.
How can i fix it.

With best regards, Dymov Vlad. E-mail: twirpx@@@mail.ru

Jul 21 '05 #2

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

Similar topics

0
by: Rasmus Fogh | last post by:
Someone raised the question of automatic code generation a few weeks back. And yes, we (CCPN) are using automatic Python code generation in a major way. Basically we are making data models in...
7
by: svilen | last post by:
hello again. i'm now into using python instead of another language(s) for describing structures of data, including names, structure, type-checks, conversions, value-validations, metadata etc....
5
by: TS | last post by:
I am creating a custom control and so I have a c# solution, and added a c# web control library project. I don't get any squigglies until after I build, then when I fix, they don't go away until...
3
by: Kenneth P | last post by:
Hi there, I have a placeholder, table, tr and td object in this way in an .aspx file <asp:placeholder id=plhGrid Visible="False" Runat="server"> <table width="960" border="1"> <tr> <td> ......
15
by: Craig Hunt | last post by:
I posted this in another newsgroup, so please forgive me if you've already seen it. --- Am I missing something here? Quite frequently, I'll write an aspx document taking care to format the...
1
by: Dymov Vlad | last post by:
Hello, All! I have some trouble with subject. Maybe it is not trouble at all, but i need a good advise. I have just tried to write simple ASPX page in HTML view. Everything was good....
1
by: Russell Mangel | last post by:
I am using VS2005. When I paste source code into the code window, VS2005 formats like the following: public MsgRecipientReader() : base() { }
5
by: Ant | last post by:
Simple question - I think... I want to make the HTML in my ASP.NET more readable by seperating all the HTML controls by a line or two, but when I run the app. or switch to design mode, it snaps...
3
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Visual Studio 2003 constantly changes HTML on my webform - For the worse! I've experienced this before, but now its really causing problems because it wrecks the page. How do I prevent VS from...
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
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...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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...

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.