I'm new to ASP.NET MVC, so the question may seem "dumb", sorry.
I have a partial view inside my home view.
A partial view represents a form that invokes an action method inside a HomeController.
It works fine with server verification, the problem is that after publishing only Partial View is displayed.
How can I display the whole view of a house after posting?
About the code:
Inside PartialView, I have a form:
<% using (Html.BeginForm("Request", "Home")) { %>
A request is an ActionResult defined inside my HomeController.
[HttpPost]
public ActionResult Request(RequestModel model)
{
if (ModelState.IsValid)
{
}
else
{
return View();
}
}
At this time, after the ascx message, the server authentication files are echoed, but only the ascx PartialView code is rendered. Url looks like this after posting:
http:
I want to show the whole home view with ascx inside, showing server check errors.