| ServerLabel | V1.0 F1.7 |
![]() |
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>" |
![]() |
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. |
![]() |
(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" |
![]() |
-- | -- |
![]() |
-- | -- | -- |
![]() |
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. |
![]() |
- | - |