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

RadWindow is closing when we click the F5(Refresh)

1 Answer 22 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
karunakar
Top achievements
Rank 1
karunakar asked on 25 Jun 2014, 01:54 PM
Hi
Radwindow is closing when refresh the parent page.

Parent aspx page we are calling this radwindow code:

var oWnd1 = window.radopen('ABC.aspx', 'List');
oWnd1.setSize(800, 490); //set as per req
oWnd1.set_modal(true);
oWnd1.set_behaviors(4 + 32);
return false;

From parent page  we are calling radwindow. here it is showing window . when we click the F5(Refresh)  radwindow is closing automatically.

Please help us.

Please revert back to your comments.

Regards,
Karuna


1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 25 Jun 2014, 02:52 PM

Hi Karuna,

When you refresh the page the script is most likely not executed because it requires a user action to trigger it.

If you want to have a RadWindow shown on the initial load of the page you can show it in the Sys.Application.Load event: http://msdn.microsoft.com/en-us/library/bb383829.aspx.

An alternative is setting its VisibleOnPageLoad property to true, but this will have it show up after each page load (postback).


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
karunakar
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or