CARVIEW |
September 01, 2004
ASP.NET controls and <browserCaps>
I noticed that some of my ASP.NET controls were rendering strangely under Firefox 0.93, which made me wonder if the adaptive rendering engine underneath those controls was somehow unable to recognize Firefox as a modern HTML rendering engine. The information used to make this decision-- is your browser utter crap or not?-- is squirreled away in the <browserCaps> section of machine.config.
Cyscape, the company behind the original <browserCaps>, ostensibly maintains an update area for the now woefully out of date <browserCaps> section. However, as others have pointed out, Cyscape sells a competing product, so they're in no big hurry to keep this file up to date-- it's in permanent "under development" limbo. This is a predictable but unfortunate state of affairs.
Fortunately, Rob Eberhardt put together an exhaustive reference page on this topic, which contains several "roll your own" replacements for ye olde browserCaps section that ships with 1.1. Works for me! It is possible to replace <browserCaps> at the site level in web.config, but I think it makes a lot more sense to make the modifications at the server level in machine.config-- assuming you have access to it.
Also, it looks like browserCaps is getting a much needed overhaul in ASP.NET 2.0.
Does anyone have another link for Rob Eberhardt's custom <browserCaps> code? His slingfive site does not appear to alive.
Chris Miller on September 1, 2004 09:52 AMHmm, it's loading OK for me:
https://slingfive.com/pages/code/browserCaps/
Skerkles the Coding Clown (hey, he made the name up not me) has some mirrors for this stuff if you search his archives. Mind the giant feet..
https://www.schkerke.com/blog/
Cyscape DOES NOT "maintain an update area" for the browsecaps. That page has said "This file is currently under development. Please check back shortly" since the first time I ran into this problem and checked their site, which was either during .NET v1.0 Beta 2 or shortly after .NET v1.0 was released.
Shannon J Hager on September 6, 2004 06:22 PMRight.. it's sort of a running joke.. ON US!
Jeff Atwood on September 7, 2004 09:46 PM<a href="https://ejaculate-volume.clomid.biz">Ejaculate</a> ejaculate
Ejaculate on July 18, 2005 07:02 PMContent (c) 2009 Jeff Atwood. Logo image used with permission of the author. (c) 1993 Steven C. McConnell. All Rights Reserved. |