How to use dynamic master page in ASP.NET MVC RC 1.0

前端 未结 3 1005
野性不改
野性不改 2021-01-03 16:18

I don\'t know how to using dynamic master page in ASP.NET MVC RC 1.0. Please help!

3条回答
  •  梦谈多话
    2021-01-03 16:55

    There's a reasonably maintainable solution discussed on http://forums.asp.net/p/1394235/2991293.aspx where you create a common site master descendant and use that for all your own views. There's also a CodeProject entry that looks interesting that uses a custom ViewEngine at http://www.codeproject.com/KB/aspnet/ASPNETMVCDynamicThemes.aspx.

    I need to do this too, but I haven't tried either solution yet so I don't have a feel yet for which is better overall. IMO, dynamic skinning is a crucial feature for MVC, particularly to cater to user personalization.

提交回复
热议问题