[Mono-aspnet-list] asp:menu doesn't render correctly under mono

cfi fink.christoph at gmail.com
Sun Apr 17 15:00:28 EDT 2011


Hi,

I have the following menu in my Site.Master-template:

                <asp:Menu ID="NavigationMenu" runat="server" CssClass="menu"
EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal">
                    <Items>
                        <asp:MenuItem NavigateUrl="~/Default.aspx"
Text="Home"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/Page1.aspx"
Text="Page1"></asp:MenuItem>
                        <asp:MenuItem NavigateUrl="~/Page2.aspx"
Text="Page2"></asp:MenuItem>
                    </Items>
                </asp:Menu>

and its rendered correctly with .net but under mono 2.10 it seems to
"forgett" the closing </li>, because I get the following output:

<div id="ctl00_NavigationMenu" class="menu">
	<ul class="level1">
		<li>&lt;a class="level1" href="Default.aspx">Home&lt;/a><li>&lt;a
class="level1" href="Page1.aspx">Page1&lt;/a><li>&lt;a class="level1"
href="Page2.aspx">Page2&lt;/a></li></li>   
            </div>

Is this a Bug in mono or do I need to configure something differnetly?

regards
CFI

--
View this message in context: http://mono.1490590.n4.nabble.com/asp-menu-doesn-t-render-correctly-under-mono-tp3455955p3455955.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list