c# - Redirect to new page with ActionResult from ActionLink -
I have tried several ways, which have no luck ... I need a way out of here. Here is my verb link: @ Ajax.exeLink ("remove all", "empty", new ajax option () {HttpMethod = "POST", onbin = String.format ("Please confirm ('Are you certain that you want to permanently delete the item?')) {{Return false;}}", see bag total items), on command = " Location.reload () ",} And my action, I have tried to comment on all the returns: public operations are empty (empty ) {// w Pasi Jason (new // // // redirectUrl = Url ("index", "home"), // isRedirect = true //}) // return redirect toronto (new {controller = "home", action = " Index "}); // Return Redirect (" http: //google.ca "); Retro RD Direct Reaction (" Index "," Home "); // Return new Jason result () {data = new {redirectURL} = "/"}}}} Still I can not get it to redirect to a new page: / Any...