CodeCharge Studio |
All ASP PHP Perl ColdFusion Java C#.NET VB.NET |
| Property | Description |
|---|---|
| Name | The name of the control. |
| Visible | Specify whether the control should be displayed or not. |
| Control Source Type | The type of data source that will provide data for the control: Database Column, Code Expression. |
| Control Source | Specify the source of data for the control e.g. the name of a database column. |
| Data Type | The type of data that will be contained in the control. |
| Format | Depending on the Data Type property, select the format of the data that will be contained in the control. |
| Default Value | Specify a default value to be used for the control if no value is otherwise specified. |
| Content | Specify whether the content of the control is plain text or HTML code. |
| Href Type | The type of source where the URL value will come from. |
| Href Source | This property opens the Href Source window where you can specify the page to be linked to as well as any parameters that should be transmitted via the URL. |
| Convert URL to | Specify whether the URL should be converted to an absolute URL or a secure (https://) URL. |
| Remove Parameters | Specify a semicolon-separated list of parameters that should be removed from the hyperlink. |
| Preserve Parameters | Specify whether GET or Post parameters should be preserved. |
| DBFormat | Specify the format in which you want the control value to be entered into the database. |
| Event | Description |
|---|---|
| Server Side Events | |
| Before Show | Occurs before the control is rendered to the page. By placing code in this event, the user can change the text or the URL of the Link control. |
| Property | Description |
|---|---|
| Visible | This property determines whether the component is to be shown or not. |
| Link | This property contains the URL that will be linked to. |
| Value | This property holds the text that will be displayed in the Link (this is the text that appears between the <a> and </a> tags in the HTML code). |
| Property | Description |
|---|---|
| ComponentType | Specifies type of an object, such as "TextBox", "Record", etc. |
| Parent | Specifies parent container of an object, for example a record form for a textbox that is included within that form. |
| Visible | This property determines whether the component is to be shown or not. |
| Method | Description |
|---|---|
| GetValue | Retrieves the value of the Link control, in this case, the text displayed in the Link. |
| SetValue | Sets the value of the Link control, in this case, the text displayed in the Link. |
| GetLink | Retrieves the URL to which the Link links to. |
| SetLink | Sets the URL to which the Link links to. |
| Property | Description |
|---|---|
| InnerHtml | Gets or sets the content found between the opening and closing tags of the specified HTML server control. |
| InnerText | Gets or sets the text between the opening and closing tags of the specified HTML server control. |
| HRef | Gets or sets the URL to link to when the HyperLink control is clicked. See .NET Framework SDK reference. |
| Visible | This property determines whether the control is to be shown or not. |
| Property | Description |
|---|---|
| <control name> | Contains the current value of the control. |
| <control name>Href | Contains the URL to link to when the HyperLink control is clicked. |
| <control name>HrefParameters | Contains the URL parameters to be appended to the URL of the control. |
| Variable | Description |
|---|---|
| fld<control name> | This variable holds the text that will be displayed in the Link (this is the text that appears between the <a> and </a> tags in the HTML code). |
| fld<control name>Link | This variable contains the URL that will be linked to. |
| hide<control name> | This variable determines whether the control is to be shown or not. |
| Method | Description |
|---|---|
| addParameter | Add a parameter to the collection of parameters. |
| getParameter | Find a parameter from among the collection of parameters. |
| getPage | Get the page that contains this control. |
| getFormattedValue | Get the value formatted according to the control format. |
| setFormattedValue | Use a String to set the control value. The value is taken as is i.e. formatting will not be applied to this value. |
| getValue | Retrieves the value of the control without any formatting applied to it. |
| setValue | This method sets the value of the control. |
| hasErrors | Indicates whether the control has (validation) errors. |
| addError | Add an error description to the errors collection. |
| getErrorsAsString | Return a single String with all the error messages separated by <br> tags. |
| isVisible | Indicates whether this control should be shown or not. |
| setVisible | Specify whether this control or component should be shown or not. |
| getParent | Get the parent component that contains this control. |