WebResource access in ASP.NET MVC
Posted by: Rick Strahls WebLog,
on 30 Jul 2009 |
View original | Bookmarked: 0 time(s)
Its no secret that ASP.NET MVC is missing a few features that are native to Web Forms the most notable of which (for me anyway) is lack of access to the ClientScript functionality outside of Views. The Page.ClientScript object provides a host of features for retrieving WebResources and embedding script links into a page. If you need to access ClientScript from within an ASP.NET View, then you can still access this object, but many of its methods that output content in particular places in the page...