WebApplication.Redirect(String, Boolean) Method

Redirects a browser to the specified Uniform Resource Locator (URL).

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v18.2.dll

Declaration

public static void Redirect(
    string url,
    bool endResponse
)
Public Shared Sub Redirect(
    url As String,
    endResponse As Boolean
)

Parameters

Type Name Description
String url

A string, which the target URL. This can be a full URL, beginning with "http://", a virtual path to a location on the same IIS server, or the name of a file contained in the same location as the original URL.

Boolean endResponse

true, if it is required to terminate execution of the current page; otherwise - false.

Remarks

You can use the Redirect method to navigate to the external web page.

See Also