public ActionResult ChangePassword() { ViewBag.PasswordLength = 6; if (ControllerContext.IsChildAction) return PartialView(); return View(); }