CommunityServer - Linking to an Url from SiteUrls.Config
Posted by Anders Vindberg
in Lunarmedia Blog
on the 12 Feb. 2008 (7,096 views).
The first thought would be to use the CSControls:LinkData (or CSLinkData) control and specify the resourceName. The second logical solution would be using the ResourceControl defining that it should act as a link. None of this works.
The solution is to use the SiteUrl control and specify the UrlName:
<CSControl:SiteUrl UrlName="upload" Text="" runat="server" />
The example above refers to the SiteUrls/locations/location/url node in SiteUrls.Config with the name "upload".