65.9K
CodeProject is changing. Read more.
Home

Include Stylesheets and Scripts From A WebControl In MVC

starIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

1.00/5 (1 vote)

Jul 28, 2009

CC (ASA 2.5)

3 min read

viewsIcon

29284

Have you ever created a WebControl in MVC and though “Gee, it sure would be nice if I could add a stylesheet/script to the header of my page.” It’s not as easy as it used to be. This post goes over some code that can help you bridge that gap.