Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have the following code in my SurfaceController:
public ActionResult SubmitForgottenPassword([Bind(Prefix = "ForgottenPasswordViewModel")]ForgottenPasswordViewModel model) { if (ModelState.IsValid == false) { return CurrentUmbracoPage(); } //do some process return RedirectToAction("ForgottenPasswordConfirmation"); } public ActionResult ForgottenPasswordConfirmation() { return PartialView("Member/ForgottenPasswordConfirmation"); }
Everything gets called correctly, however, the ForgottenPasswordConfirmation page is not loading the Master page
The Dashboard has ForgottenPasswordConfirmation document set up with a template which is calling the master page...
OK managed to figure it out - using this link: Boiler Template
Basically I changed
return RedirectToAction("ForgottenPasswordConfirmation");
to
return Redirect("/ForgottenPasswordConfirmation/");
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Redirect is not loading master page...
I have the following code in my SurfaceController:
Everything gets called correctly, however, the ForgottenPasswordConfirmation page is not loading the Master page
The Dashboard has ForgottenPasswordConfirmation document set up with a template which is calling the master page...
OK managed to figure it out - using this link: Boiler Template
Basically I changed
to
is working on a reply...