wwWebUtils.ResolveUrl

Returns a site relative HTTP path from a partial path starting out with a ~. Same syntax that ASP.Net internally supports but this method can be used outside of the Page framework.

Works like Control.ResolveUrl including support for ~ syntax but returns an absolute URL.

public static string ResolveUrl( string originalUrl );

Return Value

relative url

Parameters

originalUrl
Any Url including those starting with ~


See also:

Class wwWebUtils


  Last Updated: 7/7/2008 | © West Wind Technologies, 2008