I am new to MVC2 and my question should be pretty simple. At least I thought so until I find any answer on the Internet, so I'm here.
I have a parent object pool that can hold from 0 to many children.
In my detailed Pool view, in addition to the Pool property, I am making it childs using RenderAction in the Question action list, so far so good.
Inside my view of the list of questions (which is always displayed inside the Details view), I want the button to start the Create action of the Question object. My problem is that I don’t know how to pass the Pool object, which is the model of my detailed view, to the Create action in order to associate my question with the correct pool.
Is there a way to access the "Master Model" inside the "included" view through RenderAction, and if not, what is the best way to implement the work.
thank
source
share