November Happy Hour will be moved to Thursday December 5th.

Class ScriptObjectBuilder

Inheritance
System.Object
ScriptObjectBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: AjaxControlToolkit
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
Syntax
public static class ScriptObjectBuilder

Properties

CustomConverters

Declaration
public static IDictionary<Type, Converter<object, string>> CustomConverters { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.Type, System.Converter<System.Object, System.String>>

Methods

DescribeComponent(Object, ScriptComponentDescriptor, IUrlResolutionService, IControlResolver)

Declaration
public static void DescribeComponent(object instance, ScriptComponentDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver)
Parameters
Type Name Description
System.Object instance
System.Web.UI.ScriptComponentDescriptor descriptor
System.Web.UI.IUrlResolutionService urlResolver
IControlResolver controlResolver

ExecuteCallbackMethod(Control, String)

Declaration
public static string ExecuteCallbackMethod(Control control, string callbackArgument)
Parameters
Type Name Description
System.Web.UI.Control control
System.String callbackArgument
Returns
Type Description
System.String

GetCssReferences(Control)

Declaration
public static IEnumerable<string> GetCssReferences(Control control)
Parameters
Type Name Description
System.Web.UI.Control control
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

GetScriptReferences(Type)

Declaration
public static IEnumerable<ScriptReference> GetScriptReferences(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference>

GetScriptReferences(Type, Boolean)

Declaration
public static IEnumerable<ScriptReference> GetScriptReferences(Type type, bool ignoreStartingTypeReferences)
Parameters
Type Name Description
System.Type type
System.Boolean ignoreStartingTypeReferences
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference>

RegisterCssReferences(Control)

Declaration
public static void RegisterCssReferences(Control control)
Parameters
Type Name Description
System.Web.UI.Control control