This is a migrated thread and some comments may be shown as answers.

How to close Window and do Redirect with RadAjaxManager

1 Answer 64 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Willem
Top achievements
Rank 1
Willem asked on 13 Jun 2008, 07:55 AM
Hello all, 
I have a login page. On that page is a login window.
In the code behind (server side) i want to close the login
window and redirect the mainpage to another url.
I am using the RadAjaxManager.
When i call RadAjaxManager.Redirect("main.aspx") this
redirect is working on the window instead on the
containing page.

1 Answer, 1 is accepted

Sort by
0
Mishel
Top achievements
Rank 1
answered on 17 Jun 2008, 06:37 AM
Hi,

You can use  ResponseScript for closing the window before redirect.

For example:
RadAjaxManager1.ResponseScripts.Add("window.close();");
Tags
Ajax
Asked by
Willem
Top achievements
Rank 1
Answers by
Mishel
Top achievements
Rank 1
Share this question
or