This topic is locked

Redirect after Edit and Inline Edit Issue

12/10/2008 3:45:10 PM
PHPRunner General questions
hfg author

For some reason this has just started happening. Until recently I had a for the Edit Page => After Record Updated => and redirected to the list page.
For some reason after some unrelated changes I know get an Error Occurred>>> message if I do a InLine Edit. But edits using the edit page are fine.
Here is my problem, I really need both. The Inline Edit is used for doing quick changes and the Edit page is used for lessor used data changes.
Is there a way to do a Redirect on the edit page without causing issues for Inline Edit?
Thanks

T
thesofa 12/11/2008

I found the same problem after using inline Add.

Jane told me that redirect cannot be used after any Inline Operation, Edit or Add.

ficcionista 5/4/2009

I'm having the same problem and as i see there is still no answer to this question.
I'll keep invetigating, and if i find something, i'll post it here. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=40727&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

L
laonian 5/4/2009

You need to tell the program at which Add/Edit mode the redirection should happen. Because you can't redirect in inline add / edit page, so it has to be simple Add/Edit page event.
Try this:

if (!$inline)

{

header("Location: your_redirect_page_url");

exit();

}