Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Sep 02, 2008 13:38
open dhtmlx forum
refresh

I would like to do a whole page refresh after save and iam using the following code:

myDataProcessor.setOnAfterUpdate(function(){
window.location.reload(true);});

The above code refreshes the page but it pops up the following message before refresh:

---------------------------
Windows Internet Explorer
---------------------------
To display the webpage again, Internet Explorer needs to
resend the information you've previously submitted.

If you were making a purchase, you should click Cancel to
avoid a duplicate transaction. Otherwise, click Retry to display
the webpage again.
---------------------------
Retry Cancel
---------------------------

How can I avoid this message and do a complete page refresh??
Answer posted by Support on Sep 03, 2008 01:47
>>How can I avoid this message and do a complete page refresh??
This not related to the component.
When page loaded by form submit ( POST  ) - it will ask about page refreshing in such manner. 
Instead of using 
   window.location.reload(true);
you can try
   document.location.href="some_page.html"