Anyone point me to any article that describes how to use themes and skins in an asp.net mvc application?
+2
A:
For ASP.NET MVC, you don't have the ASP.NET 'Themes' mantra, you typically use CSS.
George Stocker
2009-10-31 04:30:57
I don't think he meant "Themes" as in controls, more like Wordpress themes and similar. You can't change the whole design just by the means of CSS.
HeavyWave
2009-10-31 05:20:09
@HeavyWave: I don't think you've used ASP.NET MVC. Actually, you can change the whole design using CSS. What would stop you from doing that? You aren't supposed to be using ASP.NET controls with MVC.
George Stocker
2009-10-31 14:57:38
+1
A:
I would use different CSS files as George suggests. You can achieve an awful lot this way. See CSS Zen Garden for examples of just how much you can do.
If this doesn't give you enough control then you can also specify a master page in your controller like this:
return View(stringViewName, stringMasterName, model);
Richard
2009-10-31 12:50:26
A:
I have used the sample code from the link below and solved my issue,
http://www.codeproject.com/KB/aspnet/ASPNETMVCDynamicThemes.aspx
Ravi
2009-11-02 07:25:43
A:
I would recommend using spark view engine, you can easily deal with themes in mvc: http://dev.dejardin.org/documentation/viewlocations
tuanvt
2009-11-02 10:57:54