This topic is locked

Redirect after Add with inline add details table

5/7/2010 7:08:14 PM
ASPRunnerPro General questions
U
uros author

Hello,
I have a problem; I have one master-detail table. It work fine, when I add a record, but if I would like to redirect after add to another page it doesn't work, because the server first add master table and then detail page.-> that means, that it trying to redirect before details table is added. Is there any event which ocur after AfterAddRecord? Which function is executed when Save button is pressed? I will make the button with the Save-button function and then redirect... Thank you in advance.

F
funklet 5/8/2010

Hi,
Depending on the version you are running there should be the Table Event - AfterRecordAdded.
Is this not available?
If you redirect in the BeforeRecordAdded event then the record is not added.

A
AndyF 5/20/2010



Hi,
Depending on the version you are running there should be the Table Event - AfterRecordAdded.
Is this not available?
If you redirect in the BeforeRecordAdded event then the record is not added.


I am running ASP runner Pro 6.2 build 5482. I found the AfterAdd table event. I put a redirect there but the page does not load. When I look in the IIS Log files I see the redirect page being requested and getting a return code of 200 (success). But the page is not loaded. Any thoughts?