Method | Description | |
---|---|---|
BuildUrl ( ) : string |
Builds a URL properly prepending the namespace to the URL.
|
|
BuildUrl ( StringBuilder destination ) : void |
Builds a URL properly appendind the NS parameter if appropriate.
|
|
GetCurrentNamespace ( ) : string |
Extracts the current namespace from the URL, such as /App/Namespace.Edit.aspx.
|
|
Redirect ( string target ) : void |
Redirects the current response to the specified URL, properly appending the current namespace if any.
|
|
Redirect ( string target, bool addNamespace ) : void |
Redirects the current response to the specified URL, appending the current namespace if requested.
|
|
RedirectHome ( ) : void |
Redirects to the default page of the current namespace.
|
|
RouteCurrentRequest ( ) : void |
Properly routes the current virtual request to a physical ASP.NET page.
|
public static BuildUrl ( StringBuilder destination ) : void | ||
destination | StringBuilder | The destination |
return | void |
public static GetCurrentNamespace ( ) : string | ||
return | string |
public static Redirect ( string target ) : void | ||
target | string | The target URL. |
return | void |
public static Redirect ( string target, bool addNamespace ) : void | ||
target | string | The target URL. |
addNamespace | bool | A value indicating whether to add the namespace. |
return | void |