<的browserCaps>部分 [英] <browserCaps> section

查看:47
本文介绍了<的browserCaps>部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




为什么没有< browserCaps>部分,这是正确的吗?


我明白Netscape和其他人都是''DownLevel''浏览器,

但在我的情况下,也是我的PocketIE Ipaq和

SmartPhone的Opera浏览器重新配置错误(IsMobileDevice = false)。


从哪里或如何获得有效的配置?


谢谢

Eric

解决方案

" Eric" <音响**** @ earthling.net>在消息中写道

新闻:e0 ************** @ TK2MSFTNGP12.phx.gbl ...

为什么没有< browserCaps>部分,这是正确的吗?




因为它已被HttpContext.Current.Request.Browser取代


< BLOCKQUOTE>>因为它被HttpContext.Current.Request.Browser取代了

不,它没有。如果您只是在寻找移动更新,请访问此处
http://msdn.microsoft.com/mobility/p...s/default.aspx


我去过最近在微软与某人谈论此事,他正在尝试

来找出为什么没有正确支持非IE浏览器的浏览器上限。只需谷歌更新浏览器上限,你就可以找到一些

将处理netscape就好了。


" Eric" <音响**** @ earthling.net>在留言新闻中写道:< e0 ************** @ TK2MSFTNGP12.phx.gbl> ...



为什么没有< browserCaps>哪个是正确的?

我知道Netscape和其他人都是''DownLevel''浏览器,
但在我的情况下,我的Ipaq和
Opera浏览器上的PocketIE也是如此对于SmartPhone重新配置错误(IsMobileDevice = false)。

从哪里或如何获得有效的配置?

谢谢
Eric




您可以在web.config或

machine.config文件中添加browsercaps部分,以添加默认情况下未包含的浏览器。以下是

您可能会觉得有用的一些资源:


$ b web.config中浏览器封装格式的MSDN说明:
http://msdn.microsoft.com/library/de...apssection.asp

用于ASP.NET的Browsercaps文件:
http://slingfive.com/pages/code/browserCaps/


Helen


Hi,

Why there is no <browserCaps> section, which is correct?

I understand that Netscape and others are ''DownLevel'' browser,
but in my case, also the PocketIE on my Ipaq and
Opera browser for SmartPhone are reconized wrong (IsMobileDevice = false).

From where or how I get the a configuration which works?

Thanks
Eric

解决方案

"Eric" <fi****@earthling.net> wrote in message
news:e0**************@TK2MSFTNGP12.phx.gbl...

Why there is no <browserCaps> section, which is correct?



Because it''s been replaced by HttpContext.Current.Request.Browser


> Because it''s been replaced by HttpContext.Current.Request.Browser
No, it hasn''t. If you are just looking for mobile updates go here
http://msdn.microsoft.com/mobility/p...s/default.aspx

I''ve been talking to someone at Microsoft lately about this and he is trying
to find out why there are no browser caps that correctly support non-IE
browsers. Just google for updated browser caps and you can find some that
will handle netscape just fine.


"Eric" <fi****@earthling.net> wrote in message news:<e0**************@TK2MSFTNGP12.phx.gbl>...

Hi,

Why there is no <browserCaps> section, which is correct?

I understand that Netscape and others are ''DownLevel'' browser,
but in my case, also the PocketIE on my Ipaq and
Opera browser for SmartPhone are reconized wrong (IsMobileDevice = false).

From where or how I get the a configuration which works?

Thanks
Eric



You can add a browsercaps section to either your web.config or
machine.config files to add browsers not included by default. Here are
some resources you might find useful:

MSDN explanation of the format of the browsercaps section in
web.config:
http://msdn.microsoft.com/library/de...apssection.asp

Browsercaps files for ASP.NET:
http://slingfive.com/pages/code/browserCaps/

Helen


这篇关于&LT;的browserCaps&GT;部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆