c# - Access a PartialView's Model in a View which implements that PartialView -
How can you see a model of partial view, which implements a partial view?
I
A partial view (.ascx) A view (.aspx) if it is partially typed strongly, you pass the model with this view so you can access it already:
& Lt;% Html.RenderPartial ("~ / Views / Shared / SomePartial.ascx", SomeModel); & Gt%;
Comments
Post a Comment