Really have no clue, how to proceed.
I have a controller called Application which has four (4) public methods. All I want is to load a Jquery Accordion with four (4) sections, each for one of the public methods. In my accordion I want that, by default the 2,3 and 4th section will be disabled. When user fill up the form in section and click next, the 2nd section of the accordion gets visible. Same goes for 3rd and 4th section.
My Application Controller looks like,
public ActionResult Verify()
{
return View();
}
public ActionResult Credentials()
{
return View();
}
public ActionResult SelectJob()
{
return View();
}
public ActionResult SendApplication()
{
return View();
}
Is it possible to send different return value from the one controller’s different methods to the same view()? How?
Huge thanks for any solution or step by step…
EDIT
I changed code for your needs. I also included newest versions of jQuery and jQuery UI to make it work.
Fully answer tested. I could give you the hole solution but I can’t upload any files here. If you provide me a place to upload I can’t place the entire solution for you.
Controller/HomeController
Views/Home/Index.cshtml
Views/Home/_Verify.cshtml
Views/Home/_Credentials.cshtml
Views/Home/_SelectJob.cshtml
Views/Home/_SendApplication.cshtml
Views/_Shared/_Layout.cshtml
Solution looks now like this: