I am just playing around with MVC for the first time and am having a problem.
Let's say I have 2 tables - Person and Location. Location has a foreign key relationship to Person - so 1 person can have multiple locations belonging to them.
In my view I have form inputs for the Person fields - this works fine.
However, I also want to have a grid to hold Locations, (with the standard Add/Delete buttons), also master-detail form inputs that are tied to the current record in the Locations grid.
My problem is how do I implement the child relation grid and form inputs in the view?
Thanks in advance.