Working with Mac Safari Browser

J

JD

Hello Everyone,

I am working on a asp.net application I need it to also work on Mac's Safari
browser, I am using web validation controls and I get an error message
everytime I try to validate on the form. Does anyone have any workarounds
that I can use to use these controls in Safari and not have to rewrite the
validation. Thanks.
 
T

theath

This is because asp.net doesn't recognize safari as a >= microsoft5.5
browser. you'll need to add a browserCaps section in your web.config
(for app-level deployment) or machine.config (for machine-level
deployment). there's a good explanation about this here:
http://slingfive.com/pages/code/browserCaps/

Basically, the server isn't putting the javascript in there (there are
other things that safari users won't see if you don't add a browserCaps
section, too, like div tags and lots of css will be stripped).
 
T

theath

don't want to be rude, but i've tested client side validation on
firefox with .net, and it works. khtml supports dhtml, also.

thought it might only be "officially" supported, the javascript seems
to work pretty nicely on all of the browsers. you have to add a
browserCaps section to guarantee that .net treats the browser like a
mature one; which it doesn't in most cases unless it's IE.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top