reload page after customaction setSuccessMessage

Hi, I’m trying to launch a page refresh after the confirmation message. Unfortunately it doesn’t work, can you help me?

        // Row Custom Action event
        function Row_CustomAction($action, $row) {
 
                    // Return FALSE to abort
                    // Get action from (ListOptions_Rendered)
 
                    $id = $row["idMovimento"];
                    $dataMov = $row["DataMovimento"];          
                    if ($action == "storno_pos") {     
                                $result = ExecuteRow("INSERT INTO.. ");
 
                                //Get new id
                                $idn = Conn()->Insert_ID();
                                $result = Execute("UPDATE .. ");
                                $result = Execute("UPDATE .. ");
 
                                // Return FALSE to abort
                                //$this->setFailureMessage("Failed to update record, ID = " . $row["idMovimento"]);
 
                                $this->setSuccessMessage("Movimento $id Stornato");
                                header("Refresh:1; url=../movimentilistalist.php");
 
                    }
        return TRUE;
        }

try $this->terminate(‘movimentilistalist.php’);

Adam wrote:
try $this->terminate(‘movimentilistalist.php’);unfortunately doesn’t works, show only all page parameter in modal dialog, I’ve add it in to “Row_CustomAction($action, $row) {”

Make sure you submit your action by HTTP POST (not by Ajax).

first method: ‘ajax’
now method: 'post’thanks