[Mono-aspnet-list] Bug in asp:bulletedList?

Childs, Aaron aaron at wsc.ma.edu
Wed Aug 4 09:22:18 EDT 2010


Hello,

 

I seem to have stumbled on a possible bug in mono with asp:bulletedList

 

Here is what I have in my webform:

 

<asp:BulletedList ID="barList" DataTextField="title" DataValueField="url"
DisplayMode="HyperLink" runat="server" />

 

And this is what I have in my code behind:

 

Dim map As SiteMapProvider = sectionSource.Provider

 

        barList.DataSource = map.GetChildNodes(map.RootNode)

        barList.DataBind()

 

The bulleted list gets populated from my Web.sitemap file for site
navigation.  All of the local url's work properly, however I have a few
external links that are not formed properly.  It seems mono hardcodes the
servername into the datavaluefield whereas IIS does not.  For example in
mono it will show up like this:

 

http://monoserver/http:/externalserver/externalurl

 

If anyone has any ideas on how to resolve this issue I would be most
appreciative.  I am running mono 2.6.7 with mod_mono 2.6.3 on apache 2.2.15.

 

Thank you,

Aaron

-----------

Aaron Childs, CCNA

Assistant Director: Networking

Westfield State University

http://www.wsc.ma.edu/it/

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20100804/ae26cd07/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6392 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20100804/ae26cd07/attachment-0001.bin 


More information about the Mono-aspnet-list mailing list