partialviews

ASP.NET MVC Partial View with Form

I have a scenario I want to use a partial view but I'm having issues with it passing data to the controller. Here is a basic example of what I'm trying to do. Objects: Customer Order A Customer has an IList<Order> on it. I want the partial view to allow the user to edit the information. I can get the data to display but when the ...

Returning an EditorTemplate as a PartialView in an Action Result - ASP.Net MVC 2

I have a model similar to this: public class myModel { public ClassA ObjectA {get; set;} public ClassB ObjectB {get; set;} } In my main view, I have tags similar to this: <div id="section1"> <%=Html.EditorFor(m => m.ObjectA)%> </div> <div id="section2"> <%=Html.EditorFor(m => m.ObjectB)%> </div> ClassA and ClassB b...