开发者

How to regenerate views after master page has changed?

I have added an another ContentPlaceHolder to Master Page for scripts. When I create Views new place holder is visible, but old views remain the same. 开发者_如何学JAVAIs there a way other than editing all the views by hand?


No, there isn't. Older views need to be update manually if you want to add this new section.


You would have to edit the existing views anyway to add the new content.

If the existing views don't need any content in the new ContentPlaceHolder, then you can leave them untouched and nothing will be rendered for that ContentPlaceHolder when the view is displayed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜