Class ScriptContainer

Class that provides script embedding functionality to ASP.NET pages. Features include the ability to use ResolveUrl style src urls to place script includes inline (to the control), in the Header or using standard ASP.NET ClientScript or ScriptManager. The control can also optimize

scripts if a .min.js script file is available by using the AllowMinScript property on the script.

The purpose of this control is to provide Intellisense compatible script embedding without requiring the ASP.NET AJAX ScriptManager control since that control automatically includes MS AJAX scripts even if none of the MS AJAX features are otherwise used.

Using markup the control can embed scripts like this:

<><ww:ScriptContainer ID="scripts" runat="server" RenderMode="Header">