473,545 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DotNet & Netscape4

Hi

I'm experiencing a real nasty thing about dotnet.

I've made a big application in dotnet and I would like
to use ILAYERS for netscape 4.

You CAN NOT USE Layers and Form buttons in Netscape 4
if you save your page in .aspx

Try to save the following code in .html and in .aspx
then look at those two pages in Netscape 4 :

<script language=javasc ript>
function ChangeIntitule( )
{
if (document.Form1 .Origine.select edIndex==0)
stringX="";
if (document.Form1 .Origine.select edIndex==1)
stringX="Exempl e: '1992-1998 : Ecole supérieure d'art dramatique de Paris'";
if (document.Form1 .Origine.select edIndex==2)
stringX="Exempl e: '2002 : Sara Pearson, Patrik Widrig (Contact Improvisation)' ";
if (document.Form1 .Origine.select edIndex==3)
stringX="Exempl e: '2003 : Cinéma - Film Snatch - figuration 3 jours'";
if (document.Form1 .Origine.select edIndex==4)
stringX="Exempl e: 'Mime', 'Pianiste', 'Trapeziste', etc..";
if (document.Form1 .Origine.select edIndex==5)
stringX="Exempl e: 'yoga', 'photographie', 'sculpture', etc..";

if (document.layer s){

document.countd ownnsmain.docum ent.countdownns sub.document.wr ite(stringX);
document.countd ownnsmain.docum ent.countdownns sub.document.cl ose();
}
else if (document.all|| document.getEle mentById)
crosscount.inne rHTML=stringX;
}
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<form name=Form1>
<select name="Origine" id="Origine" class="letras" onchange="Chang eIntitule();">
<option value="-1">Choisisse z une rubrique</option>
<option value="0">Etude s / Formation Artistique</option>
<option value="1">Stage / Séminaire</option>
<option value="2">Expér ience professionnelle </option>
<option value="3">Activ ité Artistique</option>
<option value="4">Loisi rs</option>

</select><input type=text name=sqdf>
</form>
<form name=qsd>
<ilayer id="countdownns main" width=300; height=50; visibility=show >
<layer id="countdownns sub" width=300; height=50; left=0 top=0> </layer>
</ilayer>
</form>
You'll see that all the codes that you wrote for Netscape4 whith
the ILAYERS don't work if you save the page as .aspx.
IS THIS A HUGE BUG OF DOT NET ????????
Nov 18 '05 #1
29 2795
> IS THIS A HUGE BUG OF DOT NET ????????

No. It's a huge gap in your understanding of ASP.Net.

ASP.Net is a technology which is chiefly used to create HTML documents
dynamically. What the HTML content of those documents is ENTIRELY UP TO YOU.
There are no restrictions. You have total control. You control the
horizontal. You control the vertical. Therefore, if you write an ASP.Net app
such that the HTML it spits out isn't working in a particular browser, YOU
made a mistake.

In conclusion:

A little learning is a dang'rous thing. Drink deep, or taste not the Pierian
spring. (Alexander Pope)

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living

"amos" <so**@caramail. com> wrote in message
news:dd******** *************** ***@posting.goo gle.com...
Hi

I'm experiencing a real nasty thing about dotnet.

I've made a big application in dotnet and I would like
to use ILAYERS for netscape 4.

You CAN NOT USE Layers and Form buttons in Netscape 4
if you save your page in .aspx

Try to save the following code in .html and in .aspx
then look at those two pages in Netscape 4 :

<script language=javasc ript>
function ChangeIntitule( )
{
if (document.Form1 .Origine.select edIndex==0)
stringX="";
if (document.Form1 .Origine.select edIndex==1)
stringX="Exempl e: '1992-1998 : Ecole supérieure d'art dramatique de Paris'"; if (document.Form1 .Origine.select edIndex==2)
stringX="Exempl e: '2002 : Sara Pearson, Patrik Widrig (Contact Improvisation)' "; if (document.Form1 .Origine.select edIndex==3)
stringX="Exempl e: '2003 : Cinéma - Film Snatch - figuration 3 jours'";
if (document.Form1 .Origine.select edIndex==4)
stringX="Exempl e: 'Mime', 'Pianiste', 'Trapeziste', etc..";
if (document.Form1 .Origine.select edIndex==5)
stringX="Exempl e: 'yoga', 'photographie', 'sculpture', etc..";

if (document.layer s){

document.countd ownnsmain.docum ent.countdownns sub.document.wr ite(stringX);
document.countd ownnsmain.docum ent.countdownns sub.document.cl ose();
}
else if (document.all|| document.getEle mentById)
crosscount.inne rHTML=stringX;
}
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<form name=Form1>
<select name="Origine" id="Origine" class="letras" onchange="Chang eIntitule();"> <option value="-1">Choisisse z une rubrique</option>
<option value="0">Etude s / Formation Artistique</option>
<option value="1">Stage / Séminaire</option>
<option value="2">Expér ience professionnelle </option>
<option value="3">Activ ité Artistique</option>
<option value="4">Loisi rs</option>

</select><input type=text name=sqdf>
</form>
<form name=qsd>
<ilayer id="countdownns main" width=300; height=50; visibility=show >
<layer id="countdownns sub" width=300; height=50; left=0 top=0> </layer>
</ilayer>
</form>
You'll see that all the codes that you wrote for Netscape4 whith
the ILAYERS don't work if you save the page as .aspx.
IS THIS A HUGE BUG OF DOT NET ????????

Nov 18 '05 #2
And what's the error/issue specifically?
This is all clientside scripting, not sure what it has to do with server
coding?

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"amos" <so**@caramail. com> wrote in message
news:dd******** *************** ***@posting.goo gle.com...
Hi

I'm experiencing a real nasty thing about dotnet.

I've made a big application in dotnet and I would like
to use ILAYERS for netscape 4.

You CAN NOT USE Layers and Form buttons in Netscape 4
if you save your page in .aspx

Try to save the following code in .html and in .aspx
then look at those two pages in Netscape 4 :

<script language=javasc ript>
function ChangeIntitule( )
{
if (document.Form1 .Origine.select edIndex==0)
stringX="";
if (document.Form1 .Origine.select edIndex==1)
stringX="Exempl e: '1992-1998 : Ecole supérieure d'art dramatique de
Paris'";
if (document.Form1 .Origine.select edIndex==2)
stringX="Exempl e: '2002 : Sara Pearson, Patrik Widrig (Contact
Improvisation)' ";
if (document.Form1 .Origine.select edIndex==3)
stringX="Exempl e: '2003 : Cinéma - Film Snatch - figuration 3 jours'";
if (document.Form1 .Origine.select edIndex==4)
stringX="Exempl e: 'Mime', 'Pianiste', 'Trapeziste', etc..";
if (document.Form1 .Origine.select edIndex==5)
stringX="Exempl e: 'yoga', 'photographie', 'sculpture', etc..";

if (document.layer s){

document.countd ownnsmain.docum ent.countdownns sub.document.wr ite(stringX);
document.countd ownnsmain.docum ent.countdownns sub.document.cl ose();
}
else if (document.all|| document.getEle mentById)
crosscount.inne rHTML=stringX;
}
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<form name=Form1>
<select name="Origine" id="Origine" class="letras"
onchange="Chang eIntitule();">
<option value="-1">Choisisse z une rubrique</option>
<option value="0">Etude s / Formation Artistique</option>
<option value="1">Stage / Séminaire</option>
<option value="2">Expér ience professionnelle </option>
<option value="3">Activ ité Artistique</option>
<option value="4">Loisi rs</option>

</select><input type=text name=sqdf>
</form>
<form name=qsd>
<ilayer id="countdownns main" width=300; height=50; visibility=show >
<layer id="countdownns sub" width=300; height=50; left=0 top=0> </layer>
</ilayer>
</form>
You'll see that all the codes that you wrote for Netscape4 whith
the ILAYERS don't work if you save the page as .aspx.
IS THIS A HUGE BUG OF DOT NET ????????

Nov 18 '05 #3
> IS THIS A HUGE BUG OF DOT NET ????????

DotNet, by default, doesn't really go out of its way to write valid markup
or cross-browser client side scripts for you. If that's a big concern, then
that's something you need to tweak yourself when writing your own HTML
output controls.

-Darrel
Nov 18 '05 #4
If you've added the client-side JavaScript yourself and it doesn't work,
it's because there is a problem with the script. VS.NET doesn't change your
client-side script.
"amos" <so**@caramail. com> wrote in message
news:dd******** *************** ***@posting.goo gle.com...
Hi

I'm experiencing a real nasty thing about dotnet.

I've made a big application in dotnet and I would like
to use ILAYERS for netscape 4.

You CAN NOT USE Layers and Form buttons in Netscape 4
if you save your page in .aspx

Try to save the following code in .html and in .aspx
then look at those two pages in Netscape 4 :

<script language=javasc ript>
function ChangeIntitule( )
{
if (document.Form1 .Origine.select edIndex==0)
stringX="";
if (document.Form1 .Origine.select edIndex==1)
stringX="Exempl e: '1992-1998 : Ecole supérieure d'art dramatique de
Paris'";
if (document.Form1 .Origine.select edIndex==2)
stringX="Exempl e: '2002 : Sara Pearson, Patrik Widrig (Contact
Improvisation)' ";
if (document.Form1 .Origine.select edIndex==3)
stringX="Exempl e: '2003 : Cinéma - Film Snatch - figuration 3 jours'";
if (document.Form1 .Origine.select edIndex==4)
stringX="Exempl e: 'Mime', 'Pianiste', 'Trapeziste', etc..";
if (document.Form1 .Origine.select edIndex==5)
stringX="Exempl e: 'yoga', 'photographie', 'sculpture', etc..";

if (document.layer s){

document.countd ownnsmain.docum ent.countdownns sub.document.wr ite(stringX);
document.countd ownnsmain.docum ent.countdownns sub.document.cl ose();
}
else if (document.all|| document.getEle mentById)
crosscount.inne rHTML=stringX;
}
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<form name=Form1>
<select name="Origine" id="Origine" class="letras"
onchange="Chang eIntitule();">
<option value="-1">Choisisse z une rubrique</option>
<option value="0">Etude s / Formation Artistique</option>
<option value="1">Stage / Séminaire</option>
<option value="2">Expér ience professionnelle </option>
<option value="3">Activ ité Artistique</option>
<option value="4">Loisi rs</option>

</select><input type=text name=sqdf>
</form>
<form name=qsd>
<ilayer id="countdownns main" width=300; height=50; visibility=show >
<layer id="countdownns sub" width=300; height=50; left=0 top=0> </layer>
</ilayer>
</form>
You'll see that all the codes that you wrote for Netscape4 whith
the ILAYERS don't work if you save the page as .aspx.
IS THIS A HUGE BUG OF DOT NET ????????

Nov 18 '05 #5
Don't give me lessons, take a big breath, read slowly and put your ego
of speed thinker on the side (I talk to the first guy of Microsoft who
answers the question) but try to understand the question :

When you use ILAYERS a LAYERS in Netscape 4 and you try to write in it
any text with the open and write methods (like if you use innerHTML &
SPAN for other browsers), it will work in HTML or ASP, but the code
will not work properly when compiled by the dotnet motor on ASPX.

To test this, use the code I gave or any other code that writes in a
LAYER,
and view it in NETSCAPE 4 in HTML classic and in a ASPX page you
compiled.

You'll see somthing really amazing that is a bug I think (I hope
not..) of DOT NET :

The two pages you'll see (the .HTML classic and the .ASPX) have the
same source (type view source in NETSCAPE4), but the one with the
..HTML extension works and the one with .ASPX bugs

I think you guys with Microsft should look at this problem closer
before releasing the version 2.0 of the framework.
Anyway thank you by advance for any help.
Nov 18 '05 #6
Just check the source client side ("view source" or similar) to see if it's
different.

Let us know.

Patrice
--

"amos" <so**@caramail. com> a écrit dans le message de
news:dd******** *************** ***@posting.goo gle.com...
Don't give me lessons, take a big breath, read slowly and put your ego
of speed thinker on the side (I talk to the first guy of Microsoft who
answers the question) but try to understand the question :

When you use ILAYERS a LAYERS in Netscape 4 and you try to write in it
any text with the open and write methods (like if you use innerHTML &
SPAN for other browsers), it will work in HTML or ASP, but the code
will not work properly when compiled by the dotnet motor on ASPX.

To test this, use the code I gave or any other code that writes in a
LAYER,
and view it in NETSCAPE 4 in HTML classic and in a ASPX page you
compiled.

You'll see somthing really amazing that is a bug I think (I hope
not..) of DOT NET :

The two pages you'll see (the .HTML classic and the .ASPX) have the
same source (type view source in NETSCAPE4), but the one with the
.HTML extension works and the one with .ASPX bugs

I think you guys with Microsft should look at this problem closer
before releasing the version 2.0 of the framework.
Anyway thank you by advance for any help.

Nov 18 '05 #7
The source is SIMILAR

...

that's why the question remains .. unsolved

"Patrice" <no****@nowhere .com> wrote in message news:<eJ******* *******@TK2MSFT NGP14.phx.gbl>. ..
Just check the source client side ("view source" or similar) to see if it's
different.

Let us know.

Patrice
--

"amos" <so**@caramail. com> a écrit dans le message de
news:dd******** *************** ***@posting.goo gle.com...
Don't give me lessons, take a big breath, read slowly and put your ego
of speed thinker on the side (I talk to the first guy of Microsoft who
answers the question) but try to understand the question :

When you use ILAYERS a LAYERS in Netscape 4 and you try to write in it
any text with the open and write methods (like if you use innerHTML &
SPAN for other browsers), it will work in HTML or ASP, but the code
will not work properly when compiled by the dotnet motor on ASPX.

To test this, use the code I gave or any other code that writes in a
LAYER,
and view it in NETSCAPE 4 in HTML classic and in a ASPX page you
compiled.

You'll see somthing really amazing that is a bug I think (I hope
not..) of DOT NET :

The two pages you'll see (the .HTML classic and the .ASPX) have the
same source (type view source in NETSCAPE4), but the one with the
.HTML extension works and the one with .ASPX bugs

I think you guys with Microsft should look at this problem closer
before releasing the version 2.0 of the framework.
Anyway thank you by advance for any help.

Nov 18 '05 #8
TJS
I think it does not work because you have two forms in your html. In aspx,
pages are treated as postback and only use 1 form.
"amos" <so**@caramail. com> wrote in message
news:dd******** *************** ***@posting.goo gle.com...
Hi

I'm experiencing a real nasty thing about dotnet.

I've made a big application in dotnet and I would like
to use ILAYERS for netscape 4.

You CAN NOT USE Layers and Form buttons in Netscape 4
if you save your page in .aspx

Try to save the following code in .html and in .aspx
then look at those two pages in Netscape 4 :

<script language=javasc ript>
function ChangeIntitule( )
{
if (document.Form1 .Origine.select edIndex==0)
stringX="";
if (document.Form1 .Origine.select edIndex==1)
stringX="Exempl e: '1992-1998 : Ecole supérieure d'art dramatique de Paris'"; if (document.Form1 .Origine.select edIndex==2)
stringX="Exempl e: '2002 : Sara Pearson, Patrik Widrig (Contact Improvisation)' "; if (document.Form1 .Origine.select edIndex==3)
stringX="Exempl e: '2003 : Cinéma - Film Snatch - figuration 3 jours'";
if (document.Form1 .Origine.select edIndex==4)
stringX="Exempl e: 'Mime', 'Pianiste', 'Trapeziste', etc..";
if (document.Form1 .Origine.select edIndex==5)
stringX="Exempl e: 'yoga', 'photographie', 'sculpture', etc..";

if (document.layer s){

document.countd ownnsmain.docum ent.countdownns sub.document.wr ite(stringX);
document.countd ownnsmain.docum ent.countdownns sub.document.cl ose();
}
else if (document.all|| document.getEle mentById)
crosscount.inne rHTML=stringX;
}
</script>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<form name=Form1>
<select name="Origine" id="Origine" class="letras" onchange="Chang eIntitule();"> <option value="-1">Choisisse z une rubrique</option>
<option value="0">Etude s / Formation Artistique</option>
<option value="1">Stage / Séminaire</option>
<option value="2">Expér ience professionnelle </option>
<option value="3">Activ ité Artistique</option>
<option value="4">Loisi rs</option>

</select><input type=text name=sqdf>
</form>
<form name=qsd>
<ilayer id="countdownns main" width=300; height=50; visibility=show >
<layer id="countdownns sub" width=300; height=50; left=0 top=0> </layer>
</ilayer>
</form>
You'll see that all the codes that you wrote for Netscape4 whith
the ILAYERS don't work if you save the page as .aspx.
IS THIS A HUGE BUG OF DOT NET ????????

Nov 18 '05 #9
Similar or exactly the same ?

ASP.NET doesn't have anything to do client side. If the source is the same
it should work the same. The only things that annoys me a bit is that the
default encoding for ASP.NET is utf-8 while you are using another encoding.
It could perhaps mess the JavaScript but likely not up to this point... What
is the exact behavior you see ? (Javascript doesn't work nut not error ?)

Unfortunately I don't have NS4 handy.

Let us know.

Patrice

--

"amos" <so**@caramail. com> a écrit dans le message de
news:dd******** *************** ***@posting.goo gle.com...
The source is SIMILAR

..

that's why the question remains .. unsolved

"Patrice" <no****@nowhere .com> wrote in message

news:<eJ******* *******@TK2MSFT NGP14.phx.gbl>. ..
Just check the source client side ("view source" or similar) to see if it's different.

Let us know.

Patrice
--

"amos" <so**@caramail. com> a écrit dans le message de
news:dd******** *************** ***@posting.goo gle.com...
Don't give me lessons, take a big breath, read slowly and put your ego
of speed thinker on the side (I talk to the first guy of Microsoft who
answers the question) but try to understand the question :

When you use ILAYERS a LAYERS in Netscape 4 and you try to write in it
any text with the open and write methods (like if you use innerHTML &
SPAN for other browsers), it will work in HTML or ASP, but the code
will not work properly when compiled by the dotnet motor on ASPX.

To test this, use the code I gave or any other code that writes in a
LAYER,
and view it in NETSCAPE 4 in HTML classic and in a ASPX page you
compiled.

You'll see somthing really amazing that is a bug I think (I hope
not..) of DOT NET :

The two pages you'll see (the .HTML classic and the .ASPX) have the
same source (type view source in NETSCAPE4), but the one with the
.HTML extension works and the one with .ASPX bugs

I think you guys with Microsft should look at this problem closer
before releasing the version 2.0 of the framework.
Anyway thank you by advance for any help.

Nov 18 '05 #10

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

Similar topics

1
1421
by: gdp | last post by:
hi...i have been developing using "classic" asp and sql server for the last few years. i have managed to remain completely ignorant of things like COM for all that time. last night i read a bit about COM/COM+ and was interested to know that i have in fact been using COM everytime get a recordset etc. i wish to know more. i also dimly aware...
2
391
by: Alen Andra¹ec | last post by:
hello i am planning to subscribe to magazin which is connected to dotNET and/or C#. it must be on english, possibility to send it to Croatia (Europe), and to pay with credit card (MasterCard). i will consider also online magazines.
2
1547
by: VernonR | last post by:
I'm having problems getting the .NET 1.1 XSL transform to cross reference using ID / IDREF correctly. I have collapsed to a simple set of files to show the problem more clearly... The output line using MSXML4.0 is correct <Output>First List Item = Hello</Output> The output using MSXML3.0 or the DOTNET XSL transform is <Output> = </Output>
1
2912
by: citnamor | last post by:
Hello, I'm trying to access a webservice which runs on our SOAP Server (Apache Tomcat) with Windows 2000 Advanced Server. I simply added the webreference local copy of wsdl file into dotNet Application using dotNet's "Add Web Reference" option. I am trying to execute a function using pieces of code as follows; ...
4
1818
by: mohamed_sabryegeg | last post by:
hello All i have a server and when i upload a new Dotnet application its not working but the old applications is working good and i have to restart the iis to make it work i dont know why i have to restart the iis and i dont know why its work after the restarting , i need to understand the piont maybe i can slove it without...
0
7401
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...
0
7656
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, 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. ...
1
7423
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...
0
7757
tracyyun
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...
1
5329
isladogs
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...
0
4945
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3450
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...
1
1014
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
704
bsmnconsultancy
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...

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.