Inside my controller, I return a View that works fine, except that Url is not what I expected, because it replaced with the name of the action method it is in.
http:
instead of
http:
And I cannot do a redirect to action in this case.
public ActionResult Detail()
{
return View();
}
public ActionResult SubmitTicket()
{
return View("Detail");
}
<h2>Detail</h2>
<% using (Html.BeginForm("SubmitTicket", "Home"))
{ %>
<input id="Submit1" type="submit" value="submit" />
<% } %>
source
share