Rendering partial views displaying content in a new plain blank webpage .
Hi, I am trying to display partialView content in a same page or somehow needs to apply master-template,css etc so it look similar to current template after each form-submission/postback. Currently, the code below works fine for Step-1 only and displays rest of the partialView contents in a new plain webpage.
//Step-1
//Get input form
//Created a template called InputForm from backOffice of umbraco website and added @{ Html.RenderAction("GetInputForm", "xyzControllerName", new{input = ""}) } in to it.
public ActionResult GetInputForm(string input)
{
return PartialView("_partialViewOne", new ViewModel());//This PartialView displays content as axpected
}
//Step-2
//Submit input and Get details
public ActionResult StepTwo(ViewModel model)
{
//some code
return PartialView("_partialViewTwo",new SomeOtherModel(propOne = model.propOne)); //ISSUE here: This PartialView displays content in new plain blanc page
}
//Step-3
//Submit postcode and Get location By Postcode
public ActionResult StepThree(SomeOtherModel model)
{
//some code
return PartialView("_partialViewThree", model); //ISSUE here: and rest of all PartialViews displays content in new plain blanc page
}
//Step-4...
//Step-5...
//Step-6...
Rendering partial views displaying content in a new plain blank webpage .
Hi, I am trying to display partialView content in a same page or somehow needs to apply master-template,css etc so it look similar to current template after each form-submission/postback. Currently, the code below works fine for Step-1 only and displays rest of the partialView contents in a new plain webpage.
is working on a reply...