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

ASP.Net and Mozilla browsers

Hi,

i've created a simple web application and throw in some labels,
textboxes and requiredfield validators in there.

during my testing using different browsers, i've noticed that when i was
using Mozilla browsers(Firebird[0.7 tech preview] and Mozilla[5.0]),
i've noticed that the validators are not being rendered in the page.
it's being rendered properly in IE.

is this considered a bug or by design in the ASP.NET engine that renders
the page?

regards,
Jonel
Nov 18 '05 #1
5 1448
Did you make any changes to the target browser in the ASP.NET page
(Uplevel/Downlevel/IE)?

It could be a simple matter of the page rendering being targeted to IE and
not generic browsers.
"Jonel Rienton" <csharp@nospam_here.core.com> wrote in message
news:uF**************@TK2MSFTNGP10.phx.gbl...
Hi,

i've created a simple web application and throw in some labels,
textboxes and requiredfield validators in there.

during my testing using different browsers, i've noticed that when i was
using Mozilla browsers(Firebird[0.7 tech preview] and Mozilla[5.0]),
i've noticed that the validators are not being rendered in the page.
it's being rendered properly in IE.

is this considered a bug or by design in the ASP.NET engine that renders
the page?

regards,
Jonel

Nov 18 '05 #2
Scott M. wrote:
Did you make any changes to the target browser in the ASP.NET page
(Uplevel/Downlevel/IE)?

It could be a simple matter of the page rendering being targeted to IE and
not generic browsers.
"Jonel Rienton" <csharp@nospam_here.core.com> wrote in message
news:uF**************@TK2MSFTNGP10.phx.gbl...
Hi,

i've created a simple web application and throw in some labels,
textboxes and requiredfield validators in there.

during my testing using different browsers, i've noticed that when i was
using Mozilla browsers(Firebird[0.7 tech preview] and Mozilla[5.0]),
i've noticed that the validators are not being rendered in the page.
it's being rendered properly in IE.

is this considered a bug or by design in the ASP.NET engine that renders
the page?

regards,
Jonel



Scott,

It didn't help, the page still does not render the requiredfield
validator even if i chose IE 3.02 or NS 3.0 in the targetSchema property.

thanks,
Jonel
Nov 18 '05 #3
No, not the TargetSchema property (that just checks your code to see if it
adheres to the specific language syntax. The ClientTarget property is what
to be looking at.

Valid values are:

ie4
ie5
uplevel
downlevel
"Jonel Rienton" <csharp@nospam_here.core.com> wrote in message
news:3FC6AC33.6060404@nospam_here.core.com...
Scott M. wrote:
Did you make any changes to the target browser in the ASP.NET page
(Uplevel/Downlevel/IE)?

It could be a simple matter of the page rendering being targeted to IE and not generic browsers.
"Jonel Rienton" <csharp@nospam_here.core.com> wrote in message
news:uF**************@TK2MSFTNGP10.phx.gbl...
Hi,

i've created a simple web application and throw in some labels,
textboxes and requiredfield validators in there.

during my testing using different browsers, i've noticed that when i was
using Mozilla browsers(Firebird[0.7 tech preview] and Mozilla[5.0]),
i've noticed that the validators are not being rendered in the page.
it's being rendered properly in IE.

is this considered a bug or by design in the ASP.NET engine that renders
the page?

regards,
Jonel



Scott,

It didn't help, the page still does not render the requiredfield
validator even if i chose IE 3.02 or NS 3.0 in the targetSchema property.

thanks,
Jonel

Nov 18 '05 #4
Scott M. wrote:
No, not the TargetSchema property (that just checks your code to see if it
adheres to the specific language syntax. The ClientTarget property is what
to be looking at.

Valid values are:

ie4
ie5
uplevel
downlevel
"Jonel Rienton" <csharp@nospam_here.core.com> wrote in message
news:3FC6AC33.6060404@nospam_here.core.com...
Scott M. wrote:
Did you make any changes to the target browser in the ASP.NET page
(Uplevel/Downlevel/IE)?

It could be a simple matter of the page rendering being targeted to IE
and
not generic browsers.
"Jonel Rienton" <csharp@nospam_here.core.com> wrote in message
news:uF**************@TK2MSFTNGP10.phx.gbl...
Hi,

i've created a simple web application and throw in some labels,
textboxes and requiredfield validators in there.

during my testing using different browsers, i've noticed that when i was
using Mozilla browsers(Firebird[0.7 tech preview] and Mozilla[5.0]),
i've noticed that the validators are not being rendered in the page.
it's being rendered properly in IE.

is this considered a bug or by design in the ASP.NET engine that renders
the page?

regards,
Jonel

Scott,

It didn't help, the page still does not render the requiredfield
validator even if i chose IE 3.02 or NS 3.0 in the targetSchema property.

thanks,
Jonel



Scott,

Setting the ClientTarget property to uplevel renders the requiredfield
validator on the page, thanks. However, the validation is not being
called on the client side even though the EnableClientScript of the
validator is set to true, it still allows the page to post back even if
the control being validated is empty, but i guess this is now become a
browser issue.

thanks for the input,

Jonel
Nov 18 '05 #5
Hi,

I've added this code to the web.config file to render everything correctly,
even on mozilla browser, but the pageValidator.

<browserCaps>

<case match="Gecko/[-\d]+">

browser=Netscape frames=true tables=true cookies=true javascript=true
javaapplets=true ecmascriptversion=1.5 w3cdomversion=1.0 css1=true css2=true
xml=true tagwriter=System.Web.UI.HtmlTextWriter

<case match="rv:1.0[^\.](?'letters'\w*)"> version=6.0 majorversion=6
minorversion=0

<case match="^b" with="${letters}">

beta=true

</case></case><case match="rv:1(\.\d+)(\.\d)?(?'letters'\w*)">

version=7.0

majorversion=7

minorversion=0

<case match="^b" with="${letters}">

beta=true

</case></case></case>

</browserCaps>

ASP.NET engine performs validation on server side even if the validation
controls is not rendered on the page. If something fails it set the
Page.IsValid property to false.

handle this and everything wil work fine.

Hope This Helps

Stefano Mostarda

Rome Italy

"Jonel Rienton" <csharp@nospam_here.core.com> ha scritto nel messaggio
news:3FC6B706.8070006@nospam_here.core.com...
Scott M. wrote:
No, not the TargetSchema property (that just checks your code to see if it adheres to the specific language syntax. The ClientTarget property is what to be looking at.

Valid values are:

ie4
ie5
uplevel
downlevel
"Jonel Rienton" <csharp@nospam_here.core.com> wrote in message
news:3FC6AC33.6060404@nospam_here.core.com...
Scott M. wrote:

Did you make any changes to the target browser in the ASP.NET page
(Uplevel/Downlevel/IE)?

It could be a simple matter of the page rendering being targeted to IE


and
not generic browsers.
"Jonel Rienton" <csharp@nospam_here.core.com> wrote in message
news:uF**************@TK2MSFTNGP10.phx.gbl...
>Hi,
>
>i've created a simple web application and throw in some labels,
>textboxes and requiredfield validators in there.
>
>during my testing using different browsers, i've noticed that when i was>using Mozilla browsers(Firebird[0.7 tech preview] and Mozilla[5.0]),
>i've noticed that the validators are not being rendered in the page.
>it's being rendered properly in IE.
>
>is this considered a bug or by design in the ASP.NET engine that renders>the page?
>
>regards,
>Jonel

Scott,

It didn't help, the page still does not render the requiredfield
validator even if i chose IE 3.02 or NS 3.0 in the targetSchema property.
thanks,
Jonel



Scott,

Setting the ClientTarget property to uplevel renders the requiredfield
validator on the page, thanks. However, the validation is not being
called on the client side even though the EnableClientScript of the
validator is set to true, it still allows the page to post back even if
the control being validated is empty, but i guess this is now become a
browser issue.

thanks for the input,

Jonel

Nov 18 '05 #6

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

Similar topics

6
by: David List | last post by:
I'm having a problem using different properties of the document object in the example javascripts in my textbook with browsers that identify themselves as using the Mozilla engine. One example of...
10
by: tony kulik | last post by:
This code works fine in ie and opera but not at all in Mozilla. Anybody got a clue as to how to get it right? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <script...
30
by: Matt Probert | last post by:
Is it just me (probably) or is Mozilla and the newer Firefox full of CSS rendering bugs? I ask, because some strange effects occur with Mozilla and Firefox which don't happen in Opera and dare I...
5
by: boe | last post by:
Hi everybody I have the page listed below and want the boxes to be in rows, line-wrapping neatly. In IE this looks right, but in mozilla (and possibly other browsers) it doesn't. the css...
3
by: Jim Ley | last post by:
Hi, It seems the mozilla guys have chosen another (almost certainly poor choice in my initial thoughts) of having document.all evaluate to false, but document.all catch the chicken event - also...
3
by: Disco-181 | last post by:
Hi, I have a script which isn't working in Mozilla based browser for some reason. I'm trying to run two functions from the body onload tag and it simply isn't happening. I have a cascading...
5
by: niftyhawk | last post by:
Hi, Can anybody give me a simple example of how to Call Web Services from Mozilla based Browsers ? I can call web services from IE browser using web service behavior file, without any problems....
6
by: hsomob1999 | last post by:
so i have a <ul> and I allow the user to append items to it. The problem is that on mozilla the <span class="line"> which is just a line to divide the sections gets overlaped and doesnt move down...
2
by: mark4asp | last post by:
Why does this not work in Mozilla ? <http://homepage.ntlworld.com/mark.pawelek/code/animals.html> The optHabitat_change() event does not fire. What am I doing wrong here? PS: It should...
20
by: Prasad | last post by:
hi all, how to wordwrap the text in a division in mozilla .. In ie, i am using the style word-wrap:break-word it did nt work for mozilla.. any help??? thanx in advance ,
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
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: 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
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...
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,...

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.