Re: ASP.Net 2.0 vs. Safari Browser



re:
can anyone provide me with addtional information on how to obtain/create a safari.browser file

Check out : http://slingfive.com/pages/code/browserCaps/

The code you need to add is at :

http://slingfive.com/pages/code/browserCaps/browserCaps_spaces.txt

If you want to use 2.0-only features, you could use
that code to create a safari.browser file using that info.

See : http://msdn2.microsoft.com/en-us/library/ms228122.aspx

You can also just modify your web.config's browsercaps element.

Using the browserCaps element in the Web.config file to define
browsers is deprecated in the .NET Framework 2.0 but still supported.

The data in this element is merged with the information from the browser definition files.



Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Bill Cohagan" <cohagan@xxxxxxxxxxxxx> wrote in message news:eVuFnG$LGHA.916@xxxxxxxxxxxxxxxxxxxxxxx
I'm having some serious difficulties with my ASP.Net 2.0 app rendering in Safari 2.0.3. The most
immediate problem is that the menu control doesn't seem to work at all, particularly the use of
dynamic levels.

I've Googled around a bit and determined that the problem is not so much with Safari as it is with
ASP.Net inaccurately determining the browser capabilites for that browser. In the 2.0 Framework it
appears that browser caps are defined in *.browser files located in

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers

If I look there I don't find anything for a Safari browser at all. Also, there are some references
to controlAdapters in these files. I've found references to an MSDN article, "Authoring ASP.NET
Server Control Adapters - An Introduction", but the link,

http://msdn.microsoft.com/library/en-us/dnaspp/html/ASPNET-AuthorSrvrCntrlAdapters.aspis dead.So,
can anyone provide me with addtional information on how to obtain/createa safari.browser file and
how to use the corresponding control adapters?Thanks in advance, Bill



.



Relevant Pages


Loading