Search the site!Search DWfaq.com
Current: Default | Default: Massimo's Corner

DreamweaverFAQ.com » Snippets » Snippet Details

Snippet Details

Snippets Exchange Home » ASP.NET - General » Gecko Support for ASPNET Web Forms Download MXP Add to your pending downloads

Submitted by : RiderDesign
WebSite: RiderDesign.com
Snippet Date: 12 September 2002
Version: 2
Total Downloads: 8145
Get it : Download MXP Add to your pending downloads
Tutorial/Information: Not Available
Detailed Instructions: Not Available
Snippet problem?: Send Report


The default browserCaps in the machine.config file, which ship with the Framework SDK, do not accurately reflect the current state of browser technology. The default configuration chooses not to send the style information of the aspnet server controls to non-IE browsers. As a result other browsers don't render pages correctly, beacuse don't ever"see" the styles.
To make Netscape6/7 and Moz display style info add the following code to the root web.config file in your aspnet aspplication. The code needs to be between the <system.web> tags.

The code will detect all Gecko-browsers such as Netscape 6.0/7.0 and Moz but it doesn't save the Gecko-version, but it does work

Snippet Start:

Snippet End:




Remember Me

Forget your username or password?

Want to submit or track a Snippet?
Need an extension from the store?
Don't have a login?

Register Now!
Why register?

Color Assistant - A Dreamweaver MX toolbar...
Much more than the average color picker... Especially helpful for handcoding CSS!

::This page last modified 8/13/2013 at 08:36::

Copyright © 2001-2018 DreamweaverFAQ.com All Rights Reserved.
All brands, trademarks, tutorials, extensions, code, and articles are the property of their respective owners.
A production of Site Drive Inc.
Legal Notice | Privacy Policy | Disclaimer & Notice