Class ToolkitResourceManager
- Namespace
- AjaxControlToolkit
- Assembly
- AjaxControlToolkit.dll
public static class ToolkitResourceManager
- Inheritance
-
ToolkitResourceManager
- Inherited Members
-
Properties
public static bool RenderStyleLinks { get; set; }
Property Value
- bool
Methods
public static ScriptReference GetBaseScriptReference()
Returns
- ScriptReference
public static IEnumerable<ScriptReference> GetControlScriptReferences(Type type)
Parameters
type
Type
Returns
- IEnumerable<ScriptReference>
public static string[] GetScriptPaths(params string[] toolkitBundles)
Parameters
toolkitBundles
string[]
Returns
- string[]
GetStyleHref(ResourceEntry, Control, Func<Type, string, string>)
public static string GetStyleHref(ToolkitResourceManager.ResourceEntry entry, Control control, Func<Type, string, string> getWebResourceUrlFunc)
Parameters
entry
ToolkitResourceManager.ResourceEntry
control
Control
getWebResourceUrlFunc
Func<Type, string, string>
Returns
- string
public static string[] GetStylePaths(params string[] toolkitBundles)
Parameters
toolkitBundles
string[]
Returns
- string[]
public static void RegisterControl(Type type)
Parameters
type
Type
public static void RegisterCssReferences(Control control)
Parameters
control
Control
public static void RegisterScriptMappings(string bundleName = null)
Parameters
bundleName
string
public static void RemoveScriptMappingsRegistration()