S
|
scoobysteve author 4/10/2012 |
OK I have sorted this out and I think this is a bug, |
C
|
cgphp 4/11/2012 |
If you want redirect in the inline mode, enter the following code in the "Javascript onload" event of the edit page: this.on('afterSave', function(formObj, fieldControlsArr, pageObj){ |
![]() |
Sergey Kornilov admin 4/11/2012 |
As Cristian mentions, this behavior is by design. You cannot use server side redirects in inline mode. More than that, if user opens more than one records for editing redirect will cause unsaved data loss. |
S
|
scoobysteve author 4/11/2012 |
As Cristian mentions, this behavior is by design. You cannot use server side redirects in inline mode. More than that, if user opens more than one records for editing redirect will cause unsaved data loss.
|
![]() |
Sergey Kornilov admin 4/11/2012 |
If you need to use redirect in "normal" edit mode only - you can do that in your AfterEdit event. Check AfterEdit event documentation that explains how to figure out which mode you currently in (inline vs normal edit page). |
S
|
scoobysteve author 4/12/2012 |
If you need to use redirect in "normal" edit mode only - you can do that in your AfterEdit event. Check AfterEdit event documentation that explains how to figure out which mode you currently in (inline vs normal edit page). Make redirect conditional based on the current edit mode.
|