Click or drag to resize
ScriptAttribute Class
Adds action to the page.
Inheritance Hierarchy

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
public class ScriptAttribute : AbstractAttribute, 
	ICMSFunctionalAttribute, ICMSAttribute

The ScriptAttribute type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyContainsMacro
If true, the attribute contains macros
(Inherited from AbstractAttribute.)
Public propertyExistingObject
If True, attribute is applied only when edited object is defined.
(Inherited from AbstractAttribute.)
Public propertyFiles
List of files to be registered.
Public propertyJQuery
If true, JQuery is registered.
Public propertyNewObject
If True, attribute is applied only when edited object is not defined.
(Inherited from AbstractAttribute.)
Public propertyTooltip
Registers the tooltip script.
Top
Methods
  NameDescription
Public methodApply
Applies the attribute data to the page (object).
Protected methodCheckEditedObject
Returns True if attribute should be applied. Evaluation is based on the edited object existence and ExistingObject and NewObject properties.
(Inherited from AbstractAttribute.)
Protected methodGetText
Gets the text for the element.
(Inherited from AbstractAttribute.)
Protected methodGetUrl
Transforms the URL to the correct format.
(Inherited from AbstractAttribute.)
Protected methodResolve
Resolves the give text.
(Inherited from AbstractAttribute.)
Top
See Also