Generates the correctly formatted friendly url
Namespace: DotNetNuke.CommonAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string FriendlyUrl( TabInfo tab, string path, string pageName, string portalAlias ) |
Visual Basic |
---|
Public Shared Function FriendlyUrl ( tab As TabInfo, path As String, pageName As String, portalAlias As String ) As String |
Parameters
- tab
- Type: DotNetNuke.Entities.Tabs..::..TabInfo
The current tab
- path
- Type: System..::..String
The path to format.
- pageName
- Type: System..::..String
The page to include in the URL.
- portalAlias
- Type: System..::..String
The portal alias for the site
Return Value
The formatted (friendly) URL
Remarks
This overload includes an optional page to include in the url, and the portal
alias for the site