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

Refresh Parent Page

1 Answer 186 Views
Window
This is a migrated thread and some comments may be shown as answers.
David Penny
Top achievements
Rank 2
David Penny asked on 05 Mar 2008, 11:15 AM
Hi,

I am using the following line in javascript to close and refresh a grid that calls a RadWindow being used to edit a record.

GetRadWindow().BrowserWindow.refreshGrid(

null);

This works exactly as expected and is fine.

What I would like to do now is actually refresh the entire parent page on return, not just the grid.  I have tried BrowseWindow.refresh(null) but does not see to do what I want.

If there a command here I can use to refresh the parent page when close RadWindow?

David Penny
Pillar Software

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 05 Mar 2008, 04:54 PM
Hello David,

I suppose that the function you need is the the built-in javascript function which reloads a page. That being said, you need to obtain a reference to the particular page and execute it.

In your case you should use the following code:

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


Best regards,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
David Penny
Top achievements
Rank 2
Answers by
Svetlina Anati
Telerik team
Share this question
or