This topic is locked

error redirecting in popup edit

11/18/2010 5:23:09 AM
ASPRunnerPro General questions
S
silk author

hello,

I select edit in popup window, the new feature in ASPR6.3, but with this option active if I use a response.redirect after record edited the page executes correctly but does not redirects, nor the popup closes.
how can I close the popup? thank you

Sergey Kornilov admin 11/18/2010

This is correct, you cannot redirect from the popup window.
Once you click 'Save' window closes itself.

S
silk author 11/18/2010

it works as you said, but if I add a redirect in the after edit event the window does not close, and the page does not redirect, but the record is edited. any solution?

thank you

Sergey Kornilov admin 11/18/2010

The solution is to remove redirect. I'm not sure why you need it. Probably you need to provide more details on your setup.

S
silk author 11/19/2010

I need to redirect to a page that prints a pdf document of the edited record and updates an other DB, then return to the list page. I cannot use server.execute (that will probably work correctly)

Sergey Kornilov admin 11/19/2010

I see what you saying.
Unfortunately you cannot redirect user after doing edit in popup.