Solution 1:
Add the others. Browser file to the ASP. NET Project
The content is as follows:
<! --
You can < Windir > \ Microsoft. NET \ framework \ < Ver > Find the existing browser definition in \ config \ browsers
-->
< Browsers >
< Browser ID = " Safari3 " Parentid = " Safari1plus " >
< Identification >
< Useragent match = " Safari/\ D + \. \ D + " />
</ Identification >
< Capture >
< Useragent match = " Version /(? 'Version' \ D + \. \ D +) " />
</ Capture >
< Capabilities >
< Capability name = " Browser " Value = " Safari3 " />
< Capability name = " Version " Value = " $ {Version} " />
</ Capabilities >
< Controladapters >
< Adapter controltype = " System. Web. UI. webcontrols. Menu "
Adaptertype = "" />
</ Controladapters >
</ Browser >
< Browser ID = " Googlechrome " Parentid = " Safari3 " >
< Identification >
< Useragent match = " Chrome /(? 'Version' \ D + \. \ D +) " />
</ Identification >
< Capabilities >
< Capability name = " Browser " Value = " Googlebot " />
</ Capabilities >
</ Browser >
</ Browsers >
Solution 2:
set the cssclass attribute of the dynamicmenuitemstyle Of The Menu Control, set css z-index: 1! It's okay to open the page again, and IE8 is okay. .