aspmenu

asp.net menu control not rending correctly in safari

你。 提交于 2019-11-30 14:12:45
问题 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 up code in Safari and Chrome. Below is the code that was sent to each browser. I've tested it a few browsers, and they are all pretty similarly rendered, so I am only posting the two variations on the rendering source. My question is: How do I get ASP.NET to send the same html and javascript to Chrome and Safari as it does to

asp.net menu control not rending correctly in safari

纵然是瞬间 提交于 2019-11-30 09:20: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 up code in Safari and Chrome. Below is the code that was sent to each browser. I've tested it a few browsers, and they are all pretty similarly rendered, so I am only posting the two variations on the rendering source. My question is: How do I get ASP.NET to send the same html and javascript to Chrome and Safari as it does to Firefox and IE? <!-- This is how the menu control is defined --> <asp:Menu ID="menu" runat="server"