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

How to Refresh the Radwindow page with out IE Retry popup

1 Answer 83 Views
Window
This is a migrated thread and some comments may be shown as answers.
Dayakar
Top achievements
Rank 1
Dayakar asked on 07 Mar 2013, 04:43 AM
i am having x.aspx radwindow page which contains 5 tabs,
 
if i click the 5th tab( Delete user), radwindow pop up will be dislayed with option ok and cancel, if i click ok.. i am closing the popup and coming back to the 5th tab(Delete user), if i am using the following code,
 
GetRadWindow().BrowserWindow.location.reload();
 

I get an IE7 popup dialog, saying
"To display the webpage again, Internet explorer needs to resnd the Information you've previously submitted. If you were making a purchase ...blah blah
 
with Retry + Cancel buttons
 

if i use the below code instead,
 
top.location,href= top.location.href
 
i am not getting an error as explained above but it is navigating into fist tab( Request user)...
 
Tried all the option like
 
window.location.reload(), window.location.href( It is showing the URL of the POP up)... etc...
 
can u share ur thoughts as soon as possible..... plz...

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 07 Mar 2013, 04:05 PM
Hi Dayakar,

This is browser-specific behaviour when window.location.reload() is called. It cannot be avoided as far as I know. If you can find a workaround and share it with the public we will all appreciate it.

On selecting the fifth tab - you can pass a hash tag and parse the URL when the page is loaded to select the desired tab.

Another option is to prevent the full reload and only initiate a partial postback that will refresh only the data you need.


All the best,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Window
Asked by
Dayakar
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or