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:Te xtBox runat=server id=tb></asp:Textbox></td></tr></table>
Why? and HOw do i stop this highly ANNOYING function? 3 1568
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***@magicali a.com> skrev i meddelandet
news:eq******** ******@tk2msftn gp13.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:Te xtBox runat=server id=tb></asp:Textbox></td></tr></table>
Why? and HOw do i stop this highly ANNOYING function?
nothing beats Ctrl+Z :-)
Thanks for the advice.
"Andreas Håkansson" <an************ ***@nospam.com> wrote in message
news:OT******** ******@TK2MSFTN GP11.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***@magicali a.com> skrev i meddelandet news:eq******** ******@tk2msftn gp13.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:Te xtBox runat=server id=tb></asp:Textbox></td></tr></table>
Why? and HOw do i stop this highly ANNOYING function?
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***@magicali a.com> skrev i meddelandet
news:%2******** *******@tk2msft ngp13.phx.gbl.. . nothing beats Ctrl+Z :-)
Thanks for the advice.
"Andreas Håkansson" <an************ ***@nospam.com> wrote in message news:OT******** ******@TK2MSFTN GP11.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***@magicali a.com> skrev i meddelandet news:eq******** ******@tk2msftn gp13.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:Te xtBox runat=server
id=tb></asp:Textbox></td></tr></table>
Why? and HOw do i stop this highly ANNOYING function?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 school. When I tried to
open it in the lab, I got a message saying I couldn't open it because
it was created with a newer version. Evidently the lab is using Visual
Studio.Net 2002.
My professor doesn't just want the executable file, he wants...
|
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 view then the changes in the code
page are lost. I searched around and found that there was
a patch for Visual Studio .Net 2002 referenced by
Microsoft Knowledge Base Article - 324199. I tried to load
this patch but of course it won't patch 2003....
|
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 make it easier for someone (i.e. a Microsoft person) to digest the information and respond to it. I am a C++ and Java developer with over 3 years of industry experience. I've written low level C++ code, in addition to web clients that use web...
|
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 you yourselves prefer.
Thanks in advance.
Ziggi
|
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:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match="/">
| |
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 is available from any websites
she's searched. Anybody have a used copy they'd like to get rid of?
Is/should it be impossible to get hold of this product? My understanding
is that .NET doesn't offer that much as far as Access development is...
|
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 item<br />
includes a line break</li>
</ul>
|
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 like to do is have extra spaces taken out or added in where
appropriate. I can do this in vb, but am having problems with c#.
|
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 some files and work on it.
Let say, I want add new page to web project named websiteOrder.sln, i will open websiteOrder.sln in my local computer, connected to websiteOrder.sln located in Visual Source Safe 6.0(source safe located in another...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |