JavaScriptResourceHandler.GetJavaScriptResourcesUrl

Returns a standard Resx resource based on it's . delimited resourceset name

public static string GetJavaScriptResourcesUrl(string varName,
	string resourceSet,
	string localeId,
	ResourceProviderTypes resourceType)

Parameters

varName
The name of the JavaScript variable to create

resourceSet
The name of the resource set

        Example:
        CodePasteMvc.Resources.Resources  (~/Resources/Resources.resx in CodePasteMvc project)

localeId
IETF locale id (2 or 4 en or en-US or empty)

resourceType
ResDb or ResX


See also:

Class JavaScriptResourceHandler

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