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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -