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

Standard Web Controls

MergeStyle

copies an element of a Style object to a control but

 

does not overwrite existing styles

DataBind

binds the web control to its data source

As well as the properties and methods described here, web controls offer additional properties and methods specific to each control. These are listed in the following sections.

Standard Web Controls

AdRotator

Properties

AdvertisementFile

specifies the path to the XML file that contains the

 

list of banner advertisements

KeywordFilter

returns only advertisements that match a specific filter

 

when the property is set

Target

displays the page in this window or frame; possible

 

values are _child, _self, _parent, and _blank

Events

 

AdCreated

raised after an ad is retrieved from the advertisement

 

file, but before the ad is rendered

BulletedList

Properties

BulletImageUrl

the URL of the image used to display the bullets

BulletStyle

identifies the style of the bulleted list; can take one of

 

the BulletStyle enumeration values: Numbered (1, 2,

 

3, ...), LowerAlpha (a, b, c, ...), UpperAlpha (A, B, C,

 

...), LowerRoman (i, ii, iii, ...), UpperRoman (I, II, III, ...),

 

Circle, CustomImage, Disc, and Square

613