Click or drag to resize
ClientScriptResourceAttribute Class
Associates a client script resource with an extender class. This allows the extender to find it's associated script and what names and prefixes with which to reference it.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Kettic.AspNetClientScriptResourceAttribute

Namespace: Kettic.AspNet
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public sealed class ClientScriptResourceAttribute : Attribute

The ClientScriptResourceAttribute type exposes the following members.

Constructors
  NameDescription
Public methodClientScriptResourceAttribute
Public methodClientScriptResourceAttribute(String)
Called from other constructors to set the prefix and the name.
Public methodClientScriptResourceAttribute(String, String)
Associates a client script resource with the class.
Public methodClientScriptResourceAttribute(String, Type, String)
Associates a client script resource with the class.
Top
Methods
  NameDescription
Public methodIsDefaultAttribute (Overrides AttributeIsDefaultAttribute.)
Top
Properties
  NameDescription
Public propertyComponentType
The component type name to use when referencing the component class in XML. If the XML reference is "<myns:Foo/>", the component type is "Foo".
Public propertyLoadOrder
Public propertyResourcePath
This is the path to the resource in the assembly. This is usually defined as [default namespace].[Folder name].FileName. In a project called "ControlLibrary1", a JScript file called Foo.js in the "Script" subdirectory would be named "ControlLibrary1.Script.Foo.js" by default.
Top
See Also