[Mono-aspnet-list] asp menu issues

Alexander M. Batishchev abatishchev at godfather.net.ru
Sat Nov 27 06:03:47 EST 2010


It's important to specify full name and path for each page into the site
map, i.e.


<siteMapNode url="Default.aspx" title="Main">

       <siteMapNode url="News.aspx" title="News" />



will produce:


Main <http://localhost/Default.aspx>  > News <http://localhost/News.aspx> 






Please use "answer all", i.e. answer to both recipient and mailing list.

Your previous letter was addressed only to the recipient (me).




Very strange. On both Visual Studio Development Web Server and Windows
Server 2008 box all works properly - both pages displays the breadcrumbs.

But on my Debian 5 box + Mono 2.9 (master/32340d1) + xsp 2/4 - doesn't.
News.aspx containing the same <asp:SiteMapPath> as Default.aspx does,
displays the breadcrumbs, but Default.asp - doesn't.


From: Juan Pablo L. [mailto:jpablolorenzetti at hotmail.com] 
Sent: Saturday, November 27, 2010 4:35 AM
To: abatishchev at godfather.net.ru
Subject: RE: [Mono-aspnet-list] asp menu issues


thank you very much for your reply, i have done what you mentioned but i get
nothing, just is not there. i did exactly as you mention except that i add
an / for siteMapNode as i get a 500 error otherwise.  This is my current

<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">
    <siteMapNode url="Default.aspx" title=" Main "/>



From: abatishchev at godfather.net.ru
To: jpablolorenzetti at hotmail.com
CC: mono-aspnet-list at lists.ximian.com
Subject: RE: [Mono-aspnet-list] asp menu issues
Date: Fri, 26 Nov 2010 22:43:44 +0300







             <siteMap defaultProvider="Default" enabled="true">


                           <clear />

                           <add name="Default"
type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="Web.sitemap"
securityTrimmingEnabled="true" />








?xml version="1.0" encoding="utf-8" ?>

<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">

       <siteMapNode url="Default.aspx" title=" Main ">





<asp:SiteMapPath runat="server" RenderCurrentNodeAsLink="true"
SkipLinkText="" />


What do you think? That works for me.



From: mono-aspnet-list-bounces at lists.ximian.com
[mailto:mono-aspnet-list-bounces at lists.ximian.com] On Behalf Of Juan Pablo
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"
<asp:Menu ID="MainMenu" Runat="server"

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/20101127/7286363e/attachment-0001.html 

More information about the Mono-aspnet-list mailing list