JavaScriptResourceHandler.GetJavaScriptLocalResourcesUrl

Returns a URL to embed local resources into the page via JavaScriptResourceHandler.axd. This method returns only a URL - you're responsible for embedding the script tag into the page to actually load the resources.

This version assumes the local resource set for the current request/page and autodetected resources (resdb or resx). It also uses the CurrentUICulture as the locale.

public static string GetJavaScriptLocalResourcesUrl(string varName,
	bool includeControls)

Parameters

varName
The name of the JavaScript variable to create

includeControls

Overloads:


See also:

Class JavaScriptResourceHandler

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