Version

ResolveUrlPath Method (AppStylingManager)

The main purpose of this method is to resolve "~" into the applicationPath. This method is not needed for ASP.Net 2.0, since there is already a ResolveUrl method available at the Control level.
Syntax
'Declaration
 
Public Overridable Function ResolveUrlPath( _
   ByVal urlPath As String, _
   ByVal control As Control _
) As String
public virtual string ResolveUrlPath( 
   string urlPath,
   Control control
)

Parameters

urlPath
A relative url, which may or may not contain "~"
control
A reference to a valid control - used to get application specific settings.

Return Value

A relative url with no special characters.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also