The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebApplication.Redirect(String, Boolean, Boolean) Method

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

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v19.1.dll


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


Name Type Description
url String

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.

endResponse Boolean

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

useHttpLocationHeader Boolean

true, if the redirect URL is set to the Http Location header (see HttpResponse.RedirectLocation); otherwise - false,


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

See Also