Hi all,
I'm teaching myself this new MVC3 & Razor way of development and I'm liking it a lot at the moment.
I have a small question/problem to get my head around.
I've got a "Person" model (class) and this is bound nicely to a Create view. All is ok here.
I've also got an "Address" model. Each person has an "Address" so I've created a partial view for it which I want to include on my Person Create view. How do I do this?? At the moment I'm not too sure.
I'm teaching myself this new MVC3 & Razor way of development and I'm liking it a lot at the moment.
I have a small question/problem to get my head around.
I've got a "Person" model (class) and this is bound nicely to a Create view. All is ok here.
I've also got an "Address" model. Each person has an "Address" so I've created a partial view for it which I want to include on my Person Create view. How do I do this?? At the moment I'm not too sure.