WebUtils.GetAppRelativePath

Translates the current ASP.NET path into an application relative path: subdir/page.aspx. The path returned is based of the application base and starts either with a subdirectory or page name (ie. no ~)

This version uses the current ASP.NET path of the request that is active and internally uses AppRelativeCurrentExecutionFilePath

public static string GetAppRelativePath()

Overloads:


See also:

Class WebUtils

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic