This documentation is archived and is not being maintained.

ScriptReference Members

Visual Studio 2008

Registers an ECMAScript (JavaScript) file for use on an ASP.NET Web page.

The ScriptReference type exposes the following members.

Public method ScriptReference Overloaded. Initializes a new instance of the ScriptReference class.

Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method GetUrl Infrastructure. Retrieves the URL that is rendered as the value of the src attribute of the script element. (Overrides ScriptReferenceBase.GetUrl(ScriptManager, Boolean).)
Protected method IsFromSystemWebExtensions Infrastructure. Indicates whether the composite script contains a reference to an ASP.NET AJAX framework script. (Overrides ScriptReferenceBase.IsFromSystemWebExtensions().)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the value of the Name property, the Path property, or the type name. (Overrides Object.ToString().)

Public property Assembly Gets or sets the name of the assembly that contains the client script file as an embedded resource.
Public property IgnoreScriptPath Gets or sets a value that indicates whether the ScriptPath property is included in the URL when you register a client script file from a resource.
Public property Name Gets or sets the name of the embedded resource that contains the client script file.
Public property NotifyScriptLoaded Gets or sets a value that indicates whether the ScriptResourceHandler object automatically adds code at the end of the ECMAScript (JavaScript) file to call the client NotifyScriptLoaded method of the Sys.Application class. (Inherited from ScriptReferenceBase.)
Public property Path Gets or sets the path of the referenced client script file, relative to the Web page. (Inherited from ScriptReferenceBase.)
Public property ResourceUICultures Gets or sets a comma-delimited list of UI cultures that are supported by the Path property. (Inherited from ScriptReferenceBase.)
Public property ScriptMode Gets or sets the version of the client script file (release or debug) to use. (Inherited from ScriptReferenceBase.)