New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public static class ScriptObjectBuilder

Inheritance: objectScriptObjectBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Methods

C#
[SuppressMessage("Microsoft.Design", "CA1062:ValidateArgumentsOfPublicMethods", Justification = "controlResolver is checked against null before being used")]
[SuppressMessage("Microsoft.Globalization", "CA1303:DoNotPassLiteralsAsLocalizedParameters", Justification = "Assembly is not localized")]
[SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Justification = "Cyclomatic complexity issues not currently being addressed")]
[SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Justification = "value is assigned/reassigned numerous times - code below favors clarity")]
public static void DescribeComponent(object instance, IScriptDescriptor descriptor, IUrlResolutionService urlResolver, IControlResolver controlResolver)
Parameters:instanceobjectdescriptorIScriptDescriptorurlResolverIUrlResolutionServicecontrolResolverIControlResolver
C#
[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "Deliberate attempt to catch and pass-on all exceptions")]
public static string ExecuteCallbackMethod(Control control, string callbackArgument)
Parameters:controlControlcallbackArgumentstringReturns:

string

C#
public static IEnumerable<string> GetCssReferences(Control control)
Parameters:controlControlReturns:

IEnumerable<string>

C#
public static IEnumerable<ScriptReference> GetScriptReferences(Type type, bool ignoreStartingTypeReferences)
Parameters:typeTypeignoreStartingTypeReferencesboolReturns:

IEnumerable<ScriptReference>

C#
public static IEnumerable<ScriptReference> GetScriptReferences(Type type)
Parameters:typeTypeReturns:

IEnumerable<ScriptReference>

C#
public static void RegisterCssReferences(Control control)
Parameters:controlControl