asp.net mvc 2 - Passing the form action attribute to a Partial View -
i have partial view using 2 different forms. in order use jquery validation use tag instead of html.beginform helper. means should specify action attribute myself asp.net mvc 2 when call html helpers. questions are:
- how can it?
- are there better ways want do?
its relatively easy, write form tag follows:
<form id="myform" method="post" action='<%= url.action("myaction") %>'>
if calliing partial separate places easiest way achieve want
Comments
Post a Comment