Wednesday 13 March 2013

MVC Partial View

When having <script></script> in a partial view, remember don't use the @section Scripts {
} since the partial view has no Layout (i.e. you have this @{ Layout = null} on the top of the partial view.

No comments:

Post a Comment