473,382 Members | 1,225 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.

STYLE Tag Errors in ASP.NET 2.0

Okay I am really confused here. I understand that Microsoft created
stricter rules on the HTML source in the new release of VS 2005 but here is
my situation and I really don't know where to go. I have an application
with 3rd party controls and they create STYLE tags in their perspective
areas. The new rule states STYLE tags should only exist in the HEAD tag and
I understand that but I do not have control over where a purchased component
places this tag so when I switch to source view I can't get back to design
mode without the dreaded message, "Can not switch to Design mode. Please
correct errors". Well there are not any errors and I have tried turning off
validation and everything else without any luck. Can anyone please tell me
how to work on my application in VS 2005 without destroying and recreating
the web form every time?

Thanks,

Matt

Nov 20 '05 #1
1 1137
I'd say the developer of the control has to rewrite the control to conform
to CSS specifications.

I've noticed all of the HTML in the VS2005 source is squiggled with red
underlines indicating conflicts with XHTML 1.0 Transitional yet it is VS2005
itself that is emitting the invalid HTML into the IDE. This is very
distracting and I have no idea how to resolve at the moment.
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
"Matt" <md*****@sorvive.DONT-SEND-SPAM.com> wrote in message
news:uT**************@TK2MSFTNGP11.phx.gbl...
Okay I am really confused here. I understand that Microsoft created
stricter rules on the HTML source in the new release of VS 2005 but here
is my situation and I really don't know where to go. I have an
application with 3rd party controls and they create STYLE tags in their
perspective areas. The new rule states STYLE tags should only exist in
the HEAD tag and I understand that but I do not have control over where a
purchased component places this tag so when I switch to source view I
can't get back to design mode without the dreaded message, "Can not switch
to Design mode. Please correct errors". Well there are not any errors
and I have tried turning off validation and everything else without any
luck. Can anyone please tell me how to work on my application in VS 2005
without destroying and recreating the web form every time?

Thanks,

Matt

Nov 20 '05 #2

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

Similar topics

26
by: Desmond Liu | last post by:
I've read articles like Scott Meyer's EC++ (Item 22) that advocate the use of references when passing parameters. I understand the reasoning behind using references--you avoid the cost of creating...
29
by: Cheng Mo | last post by:
Recently I happens to read some sourcecode which has different style from my previous experience. In this style, all functions return a RETURN_TYPE_T which is defined as typedef unsigned int...
4
by: lawrence | last post by:
Can anyone tell me why this code works in Netscape 7.1 but not in IE??? <SCRIPT type='text/javascript'> function makeVisible(nameOfDiv) {...
54
by: Sander | last post by:
1. I was having a discussion with somebody and I think it's just religious. We are developing some software and he was looking through my code. I use if (pointer) to test a pointer for NULL. He...
15
by: Earl Higgins | last post by:
The company where I work as a Senior Software Engineer is currently revamping their (1991 era) "Programming and Style Guidelines", and I'm on the committee. The company, in business for over 20...
66
by: Johan Tibell | last post by:
I've written a piece of code that uses sockets a lot (I know that sockets aren't portable C, this is not a question about sockets per se). Much of my code ended up looking like this: if...
18
by: Joel Hedlund | last post by:
Hi! The question of type checking/enforcing has bothered me for a while, and since this newsgroup has a wealth of competence subscribed to it, I figured this would be a great way of learning...
5
by: brekehan | last post by:
I've always been a little sketchy on the differences between static, dynamic, and reinterpret casting. I am looking to clean up the following block by using C++ casting instead of the C style...
10
by: pamelafluente | last post by:
Hi, this time I am trying to add a style on the fly.I wish equivalency with this one (only the menuItemStyle line): <head> <style type="text/css" media="screen"> ... some static styles ......
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: 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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.