[Mono-aspnet-list] asp menu issues
Alexander M. Batishchev
abatishchev at godfather.net.ru
Fri Nov 26 14:43:44 EST 2010
Hi,
Web.config:
<configuration>
<system.web>
<siteMap defaultProvider="Default" enabled="true">
<providers>
<clear />
<add name="Default"
type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="Web.sitemap"
securityTrimmingEnabled="true" />
</providers>
</siteMap>
</system.web>
</configuration>
Web.sitemap:
?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">
<siteMapNode url="Default.aspx" title=" Main ">
</siteMap>
Markup:
<asp:SiteMapPath runat="server" RenderCurrentNodeAsLink="true"
SkipLinkText="" />
What do you think? That works for me.
Alex
From: mono-aspnet-list-bounces at lists.ximian.com
[mailto:mono-aspnet-list-bounces at lists.ximian.com] On Behalf Of Juan Pablo
L.
Sent: Friday, November 26, 2010 9:54 PM
To: mono-aspnet-list at lists.ximian.com
Subject: Re: [Mono-aspnet-list] asp menu issues
Can someone please give a hint or something ? i really want to use mono but
with this problem i m about to drop it and start with java or something, if
something that looks so simple does not work following the docs i just
imagine things more complicated. thanks!
_____
From: jpablolorenzetti at hotmail.com
To: mono-aspnet-list at lists.ximian.com
Subject: asp menu issues
Date: Fri, 5 Nov 2010 15:56:53 +0000
Hi, i m trying to add a very simple menu to a site in a master page, i m new
to mono (to .net in general), this is the code:
<asp:SiteMapDataSource ID="MenuDataSource" Runat="server"
ShowStartingNode="False" />
<asp:SiteMapPath ID="SiteMapPath" Runat="server"
SkipLinkText=""></asp:SiteMapPath>
<asp:Menu ID="MainMenu" Runat="server"
DataSourceID="MenuDataSource"></asp:Menu>
but it does not work, i get a lot of errors of missing java scripts and also
the look of the menu is, i dont know what that is but it does not look like
a menu, i have searched all over the place and try so many things but
nothing work and always the same errors mentioned above so i must be doing
something very wrong but i m following the msdn howto so i have no idea what
the problem is, i would appreciate any help. thanks!!!
i m using mono 2.6.4 on fedora 13. thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20101126/07a10896/attachment.html
More information about the Mono-aspnet-list
mailing list