Generates the correctly formatted friendly URL.

Namespace: DotNetNuke.Common
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string FriendlyUrl(
	TabInfo tab,
	string path
)
Visual Basic
Public Shared Function FriendlyUrl ( 
	tab As TabInfo,
	path As String
) As String

Parameters

tab
Type: DotNetNuke.Entities.Tabs..::..TabInfo
The current tab
path
Type: System..::..String
The path to format.

Return Value

The formatted (friendly) URL

Remarks

Assumes Default.aspx, and that portalsettings are saved to Context

See Also