Dec 28, 2017, 12:58 AM
[CLOSED] Window with frame, closed event
Hi, I would like to redirect to another page once server-side function are executed, but...
My scenario is the following:
I would like to redirect the response to another page, but if I add to the save button's click listener
What do you suggest me to do in order to save and then redirect?
I have also a custom "DataUpdated" event but it runs inside the frame; could I maybe run something using the ResourceManger?
thanks a lot!
My scenario is the following:
- Page with a Window and a Button
- Button's Click opens the Window and loads inside the window another page, as a frame
- The page inside the window has a save button, with a listener click handler able to call the window hide method
parent.Ext.getCmp('myWindow').hide();
- The handler runs before my server-side click; once the windows is hidden the save button click does its job
I would like to redirect the response to another page, but if I add to the save button's click listener
parent.document.location.href = "newpage.aspx";
it runs before to save, redirects and does not save.What do you suggest me to do in order to save and then redirect?
I have also a custom "DataUpdated" event but it runs inside the frame; could I maybe run something using the ResourceManger?
thanks a lot!
Last edited by fabricio.murta; Jan 03, 2018 at 3:59 PM.