PropertyBag V1.0 F1.7

File Name: WebControl.asp
Class Name: PropertyBag

Overview
This class is internally used by the CLASP Framework and should not be used directly. Only control developers should use instances of this class passed by CLASP as a parameter to the WriteProperties and ReadProperties methods/events. A property bag object is used to wrap a node in the viewstate.



Public Constructors
New PropertyBag Default constructor.

Public Properties
Node DOMNode Represents a node in the ViewState controls hierarchy where the User Control is supposed to write to.

Public Methods
Read(Name) Reads a property with name <Name> from the viewstate.
ReadEx(Name,Def) Reads a property with name <Name> from the viewstate. If none found then it will create it and return the default <def>
ReadBoolean(Name) Reads a property with name <Name> from the viewstate and converts it to a boolean.
ReadInt(Name) Reads a property with name <Name> from the viewstate and converts it to a integer.
ReadDouble(Name) Reads a property with name <Name> from the viewstate and converts it to a double.
Write(Name,Value) Writes a <Value> into the property <Name> into the viewstate.
Item(x) Gets an attribute by index.

Public Events
-- --

Protected Properties
-- -- --

Protected Methods
-- --

Protected Events
-- --