Simplified Helper function that is used to add script files to the page This version adds scripts to the bottom of the page just before the Form tag is ended. This ensures that other libraries have loaded earlier in the page.

This may be required for 'manually' adding script code that relies on other dependencies. For example a jQuery library that depends on jQuery or wwScriptLIbrary that is implicitly loaded.

public static void IncludeScriptFileBottom( Control control,
	string scriptFile );




See also:

Class ControlResources

  Last Updated: 2/21/2008 | © West Wind Technologies, 2008