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

Calling a radwindow inside a radwindow

3 Answers 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sirisha
Top achievements
Rank 1
sirisha asked on 17 Sep 2008, 01:40 PM

Hi,
   im calling a radwindow from parent page and i need to call one more window from the first radwindow. I called it from the parent window by using the code

var oBrowserWnd = GetRadWindow().BrowserWindow;

oBrowserWnd.radopen(

"AssignUsers.aspx?Group_Id=" + GroupId, "AssignUsersWindow");

It is working fine. but when i click ok button in the 2nd radwindow, the window should close and the 1st window grid contents and parent window contents should be refreshed. but the window is not getting closed and the parent page is not getting refreshed.

Can anyone suggest me how to do these 2 tasks..

Thank you in advance

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 17 Sep 2008, 01:59 PM
Hi sirisha,

How do you close the second window and refresh the parent page and the first RadWindow? Could you please show me this code?


Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
sirisha
Top achievements
Rank 1
answered on 18 Sep 2008, 08:08 AM

The second window is not getting closed automatically. im closing it manually..but it should not be like that. how to close the window automatically when i click the ok button. when i click this button the server-side event will be fired.

and in the first dialog i wrote this code: it will be fired when the 2nd dialog is closed.


function
OnClientclose(radWindow) {

//to refresh the parent window

GetRadWindow().BrowserWindow.location.reload();

document.location.href=document.location.href;

}

0
Georgi Tunev
Telerik team
answered on 23 Sep 2008, 12:18 PM
Hello sirisha,

I am afraid I don't understand your scenario completely. Please open a support ticket and send us a small sample project where you have implemented the desired logic not by using RadWindow but standard browser's popups (e.g. window.open()). We will examine the project and rework it for you so it uses RadWindow instead.


Regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
sirisha
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
sirisha
Top achievements
Rank 1
Share this question
or