I think there is a flaw/bug in ASP.NET or IIS. I try to test my pages
in Firefox Browser because it's better than IE (page source coloring,
tabbed browsing, etc.) but the JavaScript that is generated for ASP.NET
compile errors doesn't work on Firefox (try clicking on the JavaScript
link to view the complete code). I'm using ASP.NET/C# on Windows XP
Pro/IIS. I'm getting JavaScript errors from the ASP.NET generated
javascript: "window.eve nt has no properties."
This is what it looks like (I don't know JavaScript) --
<script language="JavaS cript">
function OnToggleTOCLeve l1()
{
var elemSrc = window.event.sr cElement;
var elemLevel2 = document.all(el emSrc.level2ID) ;
if (elemLevel2.sty le.display == 'none')
{
elemLevel2.styl e.display = '';
if (elemSrc.usesGl yph == '1')
elemSrc.innerHT ML = '6';
}
else {
elemLevel2.styl e.display = 'none';
if (elemSrc.usesGl yph == '1')
elemSrc.innerHT ML = '4';
}
}
</script> 5 1447
This looks like the source you'd see if there is a compiler error on
the ASPX page.
My suggestion would be to view the page in IE until you can fix the
compiler error. All of the basic ASP.NET controls work pretty well
with FireFox, I think, although I have not done extensive testing in
that area.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Sun, 05 Jun 2005 19:34:06 -0400, nospam <no****@no-spam1314143.com >
wrote: I think there is a flaw/bug in ASP.NET or IIS. I try to test my pages in Firefox Browser because it's better than IE (page source coloring, tabbed browsing, etc.) but the JavaScript that is generated for ASP.NET compile errors doesn't work on Firefox (try clicking on the JavaScript link to view the complete code). I'm using ASP.NET/C# on Windows XP Pro/IIS. I'm getting JavaScript errors from the ASP.NET generated javascript: "window.eve nt has no properties."
This is what it looks like (I don't know JavaScript) --
<script language="JavaS cript"> function OnToggleTOCLeve l1() { var elemSrc = window.event.sr cElement; var elemLevel2 = document.all(el emSrc.level2ID) ;
if (elemLevel2.sty le.display == 'none') { elemLevel2.styl e.display = ''; if (elemSrc.usesGl yph == '1') elemSrc.innerHT ML = '6'; } else { elemLevel2.styl e.display = 'none'; if (elemSrc.usesGl yph == '1') elemSrc.innerHT ML = '4'; } } </script>
Scott Allen wrote: This looks like the source you'd see if there is a compiler error on the ASPX page.
My suggestion would be to view the page in IE until you can fix the compiler error. All of the basic ASP.NET controls work pretty well with FireFox, I think, although I have not done extensive testing in that area.
-- Scott http://www.OdeToCode.com/blogs/scott/
I realize that the solution is to view the page in IE. I'm just
pointing out that there is a bug. One thing that I have noticed is that
ASPX pages often only display correctly in IE and not in Firefox. I
would just write it off to bad programming but it's something that I
find very often and even in books like Beginning ASP.NET 1.1 in C# by
Matthew MacDonald (which I am learning from). I am running the sample
code in Firefox and some of it doesn't display correctly.
That is most likely caused by your Browsercaps section
in either machine.config or web.config not having an
appropiate entry for Firefox, .
Go to : http://slingfive.com/pages/code/brow...aps_spaces.txt
and modify your application's web.config or your server's machine.config
per the code at that page and that should allow browsing your websites
with Firefox, Mozilla, Konqueror, Opera and Mac's Safari browser.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======
"nospam" <no****@no-spam1314143.com > wrote in message
news:11******** *****@corp.supe rnews.com... Scott Allen wrote: This looks like the source you'd see if there is a compiler error on the ASPX page. My suggestion would be to view the page in IE until you can fix the compiler error. All of the basic ASP.NET controls work pretty well with FireFox, I think, although I have not done extensive testing in that area. -- Scott http://www.OdeToCode.com/blogs/scott/
I realize that the solution is to view the page in IE. I'm just pointing out that there is a bug. One thing that I have noticed is that ASPX pages often only display correctly in IE and not in Firefox. I would just write it off to bad programming but it's something that I find very often and even in books like Beginning ASP.NET 1.1 in C# by Matthew MacDonald (which I am learning from). I am running the sample code in Firefox and some of it doesn't display correctly.
I concur with Señor Libre. By default ASP.NET does not even know Firefox and
thus it would be considered as a downlevel browser.
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee. com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:OD******** ******@tk2msftn gp13.phx.gbl... That is most likely caused by your Browsercaps section in either machine.config or web.config not having an appropiate entry for Firefox, .
Go to : http://slingfive.com/pages/code/brow...aps_spaces.txt and modify your application's web.config or your server's machine.config per the code at that page and that should allow browsing your websites with Firefox, Mozilla, Konqueror, Opera and Mac's Safari browser. Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... =============== =======
"nospam" <no****@no-spam1314143.com > wrote in message news:11******** *****@corp.supe rnews.com... Scott Allen wrote: This looks like the source you'd see if there is a compiler error on the ASPX page. My suggestion would be to view the page in IE until you can fix the compiler error. All of the basic ASP.NET controls work pretty well with FireFox, I think, although I have not done extensive testing in that area. -- Scott http://www.OdeToCode.com/blogs/scott/
I realize that the solution is to view the page in IE. I'm just pointing out that there is a bug. One thing that I have noticed is that ASPX pages often only display correctly in IE and not in Firefox. I would just write it off to bad programming but it's something that I find very often and even in books like Beginning ASP.NET 1.1 in C# by Matthew MacDonald (which I am learning from). I am running the sample code in Firefox and some of it doesn't display correctly.
A bug is when an application does not behave as designed. What you are
describing is not a bug. In fact, it is perfectly possible to design ASP.Net
pages that work well in all browsers. But you have to know a bit more about
ASP.Net, as well as browsers, in order to do so.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
"nospam" <no****@no-spam1314143.com > wrote in message
news:11******** *****@corp.supe rnews.com... Scott Allen wrote: This looks like the source you'd see if there is a compiler error on the ASPX page. My suggestion would be to view the page in IE until you can fix the compiler error. All of the basic ASP.NET controls work pretty well with FireFox, I think, although I have not done extensive testing in that area. -- Scott http://www.OdeToCode.com/blogs/scott/
I realize that the solution is to view the page in IE. I'm just pointing out that there is a bug. One thing that I have noticed is that ASPX pages often only display correctly in IE and not in Firefox. I would just write it off to bad programming but it's something that I find very often and even in books like Beginning ASP.NET 1.1 in C# by Matthew MacDonald (which I am learning from). I am running the sample code in Firefox and some of it doesn't display correctly. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Daniel Silva |
last post by:
Shriram Krishnamurthi has just announced the following elsewhere; it might
be of interest to c.l.s, c.l.f, and c.l.p:
http://list.cs.brown.edu/pipermail/plt-scheme/2005-April/008382.html
The Fate Of LAMBDA in PLT Scheme v300
or
Lambda the Ultimate Design Flaw
About 30 years ago, Scheme had FILTER and MAP courtesy of Lisp hackers
|
by: Darren |
last post by:
OK, I'm trying to understand the need for this. If I understand
correctly without this anyone can reverse engineer and obtain the
source code of my application - is this correct? And this tool will
prevent this?
Why isn't this tool automatically executed by default whenever I build
my apps?
My company is building corporate applications and don't want our
source code available to anyone. I assume there is a Dotfuscator that
|
by: Christian Engström |
last post by:
If you have a function that returns something by value, the gcc compiler
(version 3.2.3 on Windows XP with MinGW) converts the returned value
from the type you specify in the code, to the const version of that type.
Is this a bug that is specific to gcc, or is it a flaw in the language
specification that gcc diligently implements? For example, the below
program produces the output
Constant
Mutable
|
by: ma740988 |
last post by:
I'm hoping my post here doesn't fall into the 'hard to say' category,
nonetheless I've been advised that multiple uses of accessor/mutator
(get/set) member functions can be viewed as a 'design flaw'. In that
regard I'm trying to create an 'example' class that's an alternative
to the accessor/mutator approach. To further describe the problem
consider the class BAR (below) which has a member data in_use that FOO
needs visibility into. ...
|
by: christophe (dot) poucet (at) gmail (dot) com |
last post by:
Hello,
I noticed there is a flaw in the vector implementation of g++ (3.4).
Basically when you erase an element from a vector, it calls the wrong
destructor. In most cases this is not such a big issue, but if one
were to store a class holding a resource, then the wrong resource would
be freed. Here is a test case to show what I mean: (Disregard the
destructors called for the temporaries).
| |
by: Java script Dude |
last post by:
Give this a test in IE (verified in IE 6.0 sp2)
Has anybody else seen this and is there a workaround besides escaping
with html special chars and not using IE ;]
~ file 1 ~
<html>
<head>
<title>IE +n- Flaw Tester</title>
</head>
|
by: Matt Kruse |
last post by:
http://news.zdnet.com/2100-1009_22-6121608.html
Hackers claim zero-day flaw in Firefox
09 / 30 / 06 | By Joris Evers
SAN DIEGO--The open-source Firefox Web browser is critically flawed in the
way it handles JavaScript, two hackers said Saturday afternoon.
An attacker could commandeer a computer running the browser simply by
crafting a Web page that contains some malicious JavaScript code, Mischa
Spiegelmock and Andrew Wbeelsoi...
|
by: Windows |
last post by:
Microsoft Windows | MSN Flaw
I have found a flaw in MSN. For those that use MSN or Live.com with
Windows see:
http://search.msn.com/results.aspx?q=windows&FORM=www.YOFAST.org-utilizing-Google-has-much-better-results-than-MSN
Imagine what can be done when from the outside someone manipulates
MSN, Microsoft, XP and Windows just by modifiing the URL.
By the way, the Microsoft Mission statement
|
by: Guy Macon |
last post by:
Serious Security Flaw in Google Chrome:
http://www.readwriteweb.com/archives/security_flaw_in_google_chrome.php
--
Guy Macon
<http://www.GuyMacon.com/>
|
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: 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: 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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |