This topic is locked
[SOLVED]

 Redirecting

6/3/2011 5:08:31 PM
PHPRunner General questions
R
rooster27 author

How can I redirect after "save all" list of inline edit records?
This does not work:

header("Location: anypage.php");

exit();
Where do I put what code?
Thanks for your quick replies!

Sergey Kornilov admin 6/3/2011

Unfortunately you cannot do that. PHPRunner doesn't have "After SaveAll" event that you can use in this situation. We'll consider adding it.

R
rooster27 author 6/3/2011



Unfortunately you cannot do that. PHPRunner doesn't have "After SaveAll" event that you can use in this situation. We'll consider adding it.


Thanks but I need a workaround urgently. Can you please advise?

Sergey Kornilov admin 6/3/2011

If you want to implement this feature in current version some coding will be required. I recommend to contact support team directly at http://support.xlinesoft.com so we can see what support options are available to you.

R
rooster27 author 6/4/2011



If you want to implement this feature in current version some coding will be required. I recommend to contact support team directly at http://support.xlinesoft.com so we can see what support options are available to you.


After some lateral thinking I found a work around:

Put following on Edit page Javascript onload event:
this.inlineEdit.saveAllButt.bind("mouseup", function(e){

location.href="page_to_redirect";

});
The system saves on click and redirects on release of mouse button.