当前位置: 代码迷 >> ASP.NET >> 严重有关问题!the world浏览器不支持menu控件的部分属性啊高手帮忙!
  详细解决方案

严重有关问题!the world浏览器不支持menu控件的部分属性啊高手帮忙!

热度:5432   发布时间:2013-02-25 00:00:00.0
严重问题!!!the world浏览器不支持menu控件的部分属性啊!高手帮忙!!
做了一个Menu控件,数据源是从数据库读出来然后经过xsl转化的,在IE浏览器中很正常,但是到了the   world浏览器,menu的下拉菜单全部都不显示!!!
Menu代码如下:
<asp:Menu     ID= "menu "   DataSourceID= "xmlDataSource1 "   runat= "server "  
ForeColor= "White "   StaticSubMenuIndent= "10px "   StaticDisplayLevels= "1 "   Orientation= "Horizontal "   StaticEnableDefaultPopOutImage= "False "   BorderStyle= "None "   BorderWidth= "0px "   Height= "24px ">
<DataBindings>
    <asp:MenuItemBinding   DataMember= "MenuItem "   NavigateUrlField= "NavigateUrl "
    TextField= "Text "   ToolTipField= "ToolTip "/>
</DataBindings>
<StaticSelectedStyle   BackColor= "#FFCC66 "   BorderStyle= "None "   />
<StaticMenuItemStyle   HorizontalPadding= "5px "   VerticalPadding= "0px "   Height= "24px "   Width= "100px "   CssClass= "menu_align "   BorderStyle= "None "   BorderWidth= "0px "   BackColor= "Transparent "   />
<DynamicMenuStyle   BackColor= "Transparent "   CssClass= "menu1 "/>
<DynamicSelectedStyle   BackColor= "Transparent "   ForeColor= "Black "   />
<DynamicMenuItemStyle     HorizontalPadding= "5px "   VerticalPadding= "0px "   Height= "23px "   Width= "110px "   ForeColor= "Black "   BackColor= "Transparent "   CssClass= "menu_alpa "   />
<DynamicHoverStyle   BackColor= "White "   Font-Bold= "False "   ForeColor= "Black "/>
<StaticHoverStyle   BackColor= "#A1C8F3 "   Font-Bold= "False "   ForeColor= "White "   BorderStyle= "None "   Height= "23px "   />
                        <StaticMenuStyle   CssClass= "menu3 "   BorderStyle= "None "   BorderWidth= "0px "   VerticalPadding= "0px "   />
</asp:Menu>
                                        <asp:XmlDataSource   ID= "xmlDataSource1 "   TransformFile= "~/TransformXSLT.xsl "    
                                                  XPath= "MenuItems/MenuItem "   runat= "server "/>
---------------------------------
后台如下:
  protected   void   Page_Load(object   sender,   EventArgs   e)
        {
                DataSet   ds   =   new   DataSet();
                using   (SqlConnection   conn   =   db.conn())
                {
                        string   sql   =   "Select   MenuID,   Text,Description,   ParentID,Url   from   Menu   order   by   orders   ASC   ";
                        SqlDataAdapter   da   =   new   SqlDataAdapter(sql,   conn);
  相关解决方案