WEB control

zhaozj2021-02-16  57

ADROTATOR control defines the Adrotator control: Specify the referenced data file by the AdvertisementFile property. Among the XML files, this XML format is; Advertising graphics URL required to display URL Description text keyword Show

Calendar Control Calendar Control

The Button Control Button control will be parsed after execution to become

The two spaces that CHECKBOX and CheckBoxList controls will be parsed into code. AutoPostBack = "True | False" Text = "label" TextAlign = "Right" Left "Checked =" True | False "OnCheckedChanged =" OnCheckedChangedMethod "/> pay attention The autopostback property of the CheckBox control, when the AutoPostBack property is set to True, click the checkbox control, and will be automatically submitted, and perform the event handles specified in OnClick or onCheckedChanged time. If you do not set the autopostback value to True, use Onclick Or OnCheckedChanged event programs will report an error. CHECKBOXLIST's Items property indicates a collection of checkboxlist subtries (you can be as a Checkbox control). If the child is selected, then the selected property of the child should be true, so you only need one cycle. To detect the selected property of the child, you can determine if the child is selected. Use the checkboxlist control, by setting the corresponding attribute, the program can also control its typographic style. RepeatColumns property: Set (or get) a line to display several Item Item REPEATDIRECTION Property: Setting (or acquired) the direction of the arrangement, it has two attribute values, Vertical (longitudinal arrangement) and Horizontal, the default value is VerticalRepeatlayout property: Setting (or get) the typesetting design is TABLE or Flow The default is TABLE.

Specific Example of these attributes: (1) Set RepeatColumns property to 2, RepeatDirection property is Vertical, RepeatLayout property Table when: checkbox0 checkbox1 checkbox2 Checkbox3 CheckBox4 CheckBox5 (2) when RepeatColumns to 3, RepeatDirection is Horizontal, RepeatLayout when Flow is: CheckBox0 CheckBox1 checkbox2 checkbox3 checkbox4 checkbox5 < / asp: checkboxlist> Radiobutton and RadiobuttonList control The relationship between the Radiobutton control and the RadiobuttonList control is equivalent to the relationship between the Checkbox control and CheckBoxList. The Radiobutton control and the RadiobuttonList control will be parsed as code In normal HTML, Radio and Checkbox have great similarity on how to use, so control Radiobutton (RadiobuttonList) and control CheckBox (checkboxlist) The method of use is also small. Note that the GroupName group name is used for many radiobutton. Ensure that only one button in each group is selected

Image and ImageButton Control Image and ImageButton control are ultimately resolved as code . Image The control is just a simple completion of an image display task. Its main attributes are: ImageURL: Set (or acquired) Image UrLalternateText: Set (or get) the text appears in the image location when the image is not downloaded. ImageAlign: Set (or acquired) Image Image in the parent container ImageButton control not only has the main properties of the image control, but also because it belongs to Button class control, it also has all the features of Button class control, the most obvious The characteristics are to support event processing. ImageButton supported events with onclick, oncommand, onmouseover, onmouseout.

HyperLink and LinkButton control HyperLink and LinkButton control will eventually resolve to code control definition: NavigateURL = "URL" text = "HyperLinkText" ImageURL = "URL" target = "window" /> NavigateURL attribute: indicating that HyperLink control requires link to the URL address imageURL property: Represents pictures on the hyperlink. This is optional. If this property is not defined, the text will be displayed on the link will appear. Text attribute: When the imageurl property is set, the illustrative text representing the picture: If the imageurl property is not set, the text pointed by the text will be displayed as a link text: indicating that the HyperLink control needs to be linked to the link URL Address ImageURL Attribute: Represents images on the hyperlink, which is optional. If this property is not defined, the text setting will be displayed on the link. Text Property: When the ImageURL property is set, the illustrative text representing the picture: If the imageurl property is not set, the text specified by Text will display the Target property as a link text indicating that the window name of the LinkButton control is different from the HyperLink control. The point is that the HyperLink control is only a hyperlink to which a URL pointing is generated: the LinkButton control is different. It belongs to the Button class control, which supports event processing, so it does not have a NavigateURL property, and its URL link function is mainly the LinkButton control that is completed by an event to support OnClick, an OnCommand event. The use of the LinkButton control is very similar to the Button control.

DropDownList and ListBox control ListBox DropDownList control and control will ultimately be resolved be custom code

CopyRight © 2020 All Rights Reserved
Processed: 0.038, SQL: 9