ServerLabel V1.0 F1.7

File Name: Server_Label.asp
Class Name: ServerLabel

Overview
Thiis control is used to diisplay text in a page. To change style and class please use the Control property.



Public Constructors
New_ServerLabel(name) This constructor is used to create an instance of the control while at the same time assiging it a name and id.
New This is the default constructor and it will create an instance of the control without a name. Controls instanciated this way must assign the name of the control manually by doing this: <controlVariable>.Control.Name = "<ControlName>"

Public Properties
Text String Gets or Sets the contents to be displayed by the Label control.
Control WebControl Inherits attributes from the WebControl class. For more information go to the WebControl help.

Public Methods
(default) Render Renders the control to the page.
SetValueFromDataSource This method is used by the Page object when binding the whole page to a DataSource. In order for this to work, you need to se the DataTextField of the Control property. i.e. lblProdDesc.Control.DataTextField = "ProdDesc"

Public Events
-- --

Protected Properties
-- -- --

Protected Methods
WriteProperties(bag) Invoked by the CLASP Framework to allow the control to restore its state after a postback. Bag is of type PropertyBag and can be used to read (or write) to the control viewstate.
ReadPropertied(bag) Invoked by the CLASP Framework to allow the control to persist its state before the page is destroyed. Bag is of type PropertyBag and can be used to read (or write) to the control viewstate.

Protected Events
- -