PagePorter Class Library

FpWebControl.MakeRelativeUrl Method 

Returns a string that represents the specified URL relative to the request path.

[Visual Basic]
Protected Function MakeRelativeUrl( _
   ByVal url As String _
) As String
[C#]
protected string MakeRelativeUrl(
   string url
);

Parameters

url
The URL. If relative, it is assumed to be project-relative.

Return Value

A string that represents the specified URL relative to the request path.

See Also

FpWebControl Class | Parastream.Web.UI.WebControls Namespace