Class ControlResources

Class is used as to consolidate access to resources

System.Object
  Westwind.Web.Controls.ControlResources

public class ControlResources : object

Class Members

MemberDescription
Constructor
CALENDAR_ICON_RESOURCE
CLOSE_ICON_RESOURCE
INFO_ICON_RESOURCE
JQUERY_CALENDAR_CSS_RESOURCE
JQUERY_CALENDAR_SCRIPT_RESOURCE
JQUERY_SCRIPT_RESOURCE
LOADING_ICON_RESOURCE
LOADING_SMALL_ICON_RESOURCE
SCRIPTLIBRARY_SCRIPT_RESOURCE
STR_JavaScriptContentType
STR_JsonContentType
STR_UrlEncodedContentType
WARNING_ICON_RESOURCE
GetStringResource Returns a string resource from a given assembly.
public static string GetStringResource( Assembly assembly,
string ResourceName );

public static string GetStringResource( string ResourceName );

IncludeScriptFile Simplified Helper function that is used to add script files to the page This version adds scripts to the top of the page in the 'normal' position immediately following the form tag.
public static void IncludeScriptFile( Control control,
string scriptFile );
IncludeScriptFileBottom 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.
public static void IncludeScriptFileBottom( Control control,
string scriptFile );
LoadjQuery Loads the jQuery library from a Url. Embeds a <script> tag uniquely into the page pointing to the Url.
public static void LoadjQuery( Control control,
string jQueryUrl );

public static void LoadjQuery( Control control );

LoadwwScriptLibrary Embeds the client script library into the page as a Resource
public static void LoadwwScriptLibrary( Control control );

Requirements

Namespace: Westwind.Web.Controls
Assembly: westwind.ajaxtoolkit.dll


  Last Updated: 7/8/2008 | © West Wind Technologies, 2008