Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Build Your Own ASP.NET 2.0 Web Site Using CSharp And VB (2006) [eng]-1.pdf
Скачиваний:
146
Добавлен:
16.08.2013
Размер:
15.69 Mб
Скачать

Appendix A: Web Control Reference

DisplayMode

determines the display mode, which can be Text (the

 

default), or HyperLink (if you want the list to be

 

formed of links)

FirstBulletNumber

specifies the value of the first bullet

SelectedIndex

the index of the selected item

SelectedItem

the currently selected item as a ListItem object

SelectedValue

the Value of the selected ListItem object

Target

specifies the target window or frame in which new

 

content should be displayed when a link is clicked;

 

possible values are _blank, _parent, _search, _self,

 

and _top

Text

the text of the BulletedList control

Events

 

Click

raised when the Button is clicked and the form is sub-

 

mitted to the server for processing

Button

Properties

CommandName

passes a value to the Command event when the Button

 

is clicked

CommandArgument

passes a value to the Command event when the Button

 

is clicked

CausesValidation

allows interaction with client-side validation controls;

 

when False, validation does not occur

Text

specifies the text displayed by the Button

Visible

controls the visibility of the Button

614