How to write submit form in another manner?
Posted
by user281180
on Stack Overflow
See other posts from Stack Overflow
or by user281180
Published on 2010-05-10T12:09:35Z
Indexed on
2010/05/10
12:14 UTC
Read the original article
Hit count: 173
asp.net-mvc
I have the follwing:
<% using (Ajax.BeginForm("ChangePassword", new AjaxOptions { OnComplete = "ChangePasswordComplete" }))
{%> <%Html.RenderPartial("ChangePassword"); %>
<input type="submit" value="test" />
<%} %>
I want to write it in the following manner:
<form>
<%Html.RenderPartial("ChangePassword"); %>
<input type="submit" value="test" />
</form>
How can I do that? What to write in the form tag>
© Stack Overflow or respective owner