Click or drag to resize
FileBrowserContentProviderRemoveProtocolNameAndServerName Method
Removes the protocol and the server names from the given url.

Namespace: Kettic.AspNet.Controls.Widgets
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public static string RemoveProtocolNameAndServerName(
	string url
)

Parameters

url
Type: SystemString
Fully qualified url to a file or directory item.

Return Value

Type: String
The root based absolute path.
Remarks

Url: http://www.myserver.com/myapp/mydirectory/myfile Result: /myapp/mydirectory/myfile

Url: www.myserver.com/myapp/mydirectory/myfile Result: /myapp/mydirectory/myfile

See Also