CommunityServer - Linking to an Url from SiteUrls.Config

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".

↓ Add Comment
↓ Add Comment

Comments (0)