asp.net menu control not rending correctly in safari

后端 未结 9 980
没有蜡笔的小新
没有蜡笔的小新 2020-12-31 17:56

The site I\'m working on is using a Databound asp:Menu control. When sending 1 menu item it renders HTML that is absolutely correct in Firefox (and IE), but really messed u

9条回答
  •  再見小時候
    2020-12-31 18:57

    I just wanted to submit an alternate option. This works for ASP.NET 3.5.

    • Add the "App_Browsers" ASP.NET folder to your project
    • Create a Browser file within this folder
    • In the browser file, add the following code between the tag:





    That should properly render the menu control in Chrome/Safari.

提交回复
热议问题