I want allow the user to customize their web pages on my ASP.NET MVC website, so they can use their own style sheet. In MVC, the stylesheet link is placed in the section of the master page. How can I dynamically link to CSS in master page based on the user (that is, I will look up my table to find the CSS for a specific user and link to it).
Thanks!
I would use a ContentPlaceHolder in the tag (http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.contentplaceholder.aspx) for the master page and apply the data you want per the View you’re showing.