How to reload the page

How to reload the page

  

Hi,

     How to reload the whole parent page after doing a action ie update or insert in pop window.I need to display the updated thing automatically in parent page after the pop up closes.

      

Hi Karthik, 

You can do that on the OnNotify Action by making Ajax Refresh on the needed to refresh container.



Mohamed ElMokadem wrote:

Hi Karthik, 

You can do that on the OnNotify Action by making Ajax Refresh on the needed to refresh container.



Thank you Mohamed for your reply


In your popup save button, before Popup_Editor_Close, you need to use Popup_Editor_Notify with a message (can be blank text "").

Then it will trigger OnNotify action of your Popup_Editor widget.

If you do not use Popup_Editor_Notify, OnNotify will not be called.



Karthik, 

Just to complement, in the OnNotify action assigned to the PopupEditor widget, that will be called when you execute a Popup_Editor_Notify in the popup action that saves data (like showed by Harlin), remember to do a DATA REFRESH in any aggregate that fetchs data used in the screen that may be affected by the action in the popup.

Cheers.