Mozilla Firefox&中的ASP.net菜单兼容性歌剧 [英] ASP.net Menu Comptiblity in Mozilla Firefox & Opera

查看:71
本文介绍了Mozilla Firefox&中的ASP.net菜单兼容性歌剧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我正在使用Sitemap数据源使用ASP.net菜单.
菜单在IE中正确显示,但是当涉及Mozilla firefox和Opera时,ASP.net菜单仅显示mENU中的第一个子节点.
请帮助我为上述问题找到合适的解决方案吗?

Hello All
I''m Using ASP.net Menu Using Sitemap DataSource.
the menu is displaying correctly in IE But when it comes to Mozilla firefox & Opera The ASP.net Menu Shows only First Subnode in The mENU.
pLEASE help me finding proper solution for the above problem?

推荐答案

我曾经遇到过这个问题.您可以尝试以下操作之一:

在页面加载事件中:
I had this problem once. You can do try one of the following:

In the page load event:
if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
{
    Request.Browser.Adapters.Clear();
}



如果上述方法不能解决您的问题,您也可以尝试以下链接:
http://weblogs.asp.net/dannychen/archive/2005/12/16/433332.aspx



If the above doesn''t fix the issue for you, you can also try the following link:
http://weblogs.asp.net/dannychen/archive/2005/12/16/433332.aspx


这篇关于Mozilla Firefox&中的ASP.net菜单兼容性歌剧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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