JavaScriptResourceHandler.RegisterJavaScriptLocalResources

Inserts local resources into the current page.

public static void RegisterJavaScriptLocalResources(Control control,
	string varName,
	string localeId,
	string resourceSet,
	ResourceProviderTypes resourceType,
	bool includeControls)

Parameters

control
A control (typically) page needed to embed into the page

varName
Name of the variable generated

localeId
The Locale for which to load resources. Normalized from most specific to Invariant

resourceSet
Name of the resourceSet to load

resourceType
Resx or DbResourceProvider (database)

includeControls
Determines whether control ids are included

Overloads:


See also:

Class JavaScriptResourceHandler

© West Wind Technologies, 2006 - 2019 • Updated: 01/25/18
Comment or report problem with topic