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

Issue with the .NET IDE

I am having problems with the .NET IDE deleting HTML code. My HTML code has
the following line of code.

<td width="170" style="background: url(images/bg-login.gif) repeat-x top
#1D47A1; padding-left:6px; padding-right:5px; padding-top:10px"
class="homepageLoginTxt">

In switching back and forth between design mode and HTML mode the IDE takes
it upon itself to change this line to then following line of code.

<td width="170" class="homepageLoginTxt">

This totally changes the look and feel of the page. Is there a way of
turning off this un-asked for and unwanted auto editing of the HTML code?

This behavior is easy to duplicate by adding a style to a <td> and while the
page is editable (checked out of SourceSafe) switch to design mode and just
click on an object on the page now switch back to the HTML mode and the
style you have hard coded on the <td> is no longer there. ( note there maybe
other ways to illicit this behavior.)
Nov 19 '05 #1
2 930
This is a known issue/bug. There is not way that I know of to stop this
from happening.

Nov 19 '05 #2
Have a read of this

http://west-wind.com/weblog/posts/489.aspx

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director

"Steve Mauldin" <st**********@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I am having problems with the .NET IDE deleting HTML code. My HTML code
has
the following line of code.

<td width="170" style="background: url(images/bg-login.gif) repeat-x top
#1D47A1; padding-left:6px; padding-right:5px; padding-top:10px"
class="homepageLoginTxt">

In switching back and forth between design mode and HTML mode the IDE
takes
it upon itself to change this line to then following line of code.

<td width="170" class="homepageLoginTxt">

This totally changes the look and feel of the page. Is there a way of
turning off this un-asked for and unwanted auto editing of the HTML code?

This behavior is easy to duplicate by adding a style to a <td> and while
the
page is editable (checked out of SourceSafe) switch to design mode and
just
click on an object on the page now switch back to the HTML mode and the
style you have hard coded on the <td> is no longer there. ( note there
maybe
other ways to illicit this behavior.)

Nov 19 '05 #3

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

Similar topics

3
by: Paul Mateer | last post by:
Hi, I have been running some queries against a table in a my database and have noted an odd (at least it seems odd to me) performance issue. The table has approximately 5 million rows and...
7
by: George Hester | last post by:
Please take a look at this google artcle: http://groups.google.com/groups?hl=en&lr=&frame=right&th=55d6f4b50f5f9382&seekm=411f370d%241%40olaf.komtel.net#link9 The op was having trouble with...
2
by: Anthony Cuttitta Jr. | last post by:
We have an application that outputs several different graphs from data downloaded from our AS400. The application has worked without (this) issue for several months now, but just recently, the...
0
by: Kevin Spencer | last post by:
Hi all, I am working on a service that uploads METAR weather information to the National Weather Service FTP site. The service I'm authoring is hosted on a Windows 200 server, and the NWS FTP...
2
by: Ben Rush | last post by:
Hello World, Okay, I have spent the day browsing the newsgroups and reading up on article after article concerning ViewState corruption and so forth, and I have a couple questions. We...
5
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant...
0
by: Charles Leonard | last post by:
I am having yet another issue with Windows Server 2003. This time, the web service (a file import web service) appears to run except for one odd message: "ActiveX component can't create object". ...
4
by: Paul | last post by:
Hi, I've been struggling with this today, I'm developing a DotNet2.0 website in C# that needs to call a long running data query. Obviously this is a good candidate for an Asynchronous call, so...
1
by: AlekseyUS | last post by:
Hi, I'm a little stuck, I basically need to copy all the information within a specific file in Temp and append it to a file in another location. I'm not having any problems with smaller size...
13
by: SAL | last post by:
Hello, I'm trying to include a popup in the ItemTemplate of a gridview row. The ItemTemplate for the field contains a textbox and when the user clicks in the textbox I want a popup panel to show...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
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,...
0
Oralloy
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,...
0
jinu1996
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...

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.