Asp.net MVC 3 partial view postback -
i new mvc , have question have page (asp.net mvc 3) called profile contains 3 partial view called (1) address,qualification,experience. each of partial view should allow add details , save details/contents without affecting others. how can attach action each partial view save button , postback result without refreshing other partial view.
can explain me , without using jquery/ajax
without ajax or jquery you'd stuck doing horrible iframes... stick jquery, best , easiest way.
actually, here 1 way might able it.
name "submit" buttons according method want called. then, have of 3 sets of data inputs within 1 <form></form>
posts intermediate controller endpoint.
in intermediate controller endpoint, determine button pressed, pass correct data normal control methods, , push other data view. way can fill out inputs, click appropriate submit button, correct data gets used! other data gets pushed view , approprate input boxes filled out.
Comments
Post a Comment