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

Appendix A: Web Control Reference

InnerHtml

contains the content between the element’s opening

 

and closing tags

InnerText

contains the text between the element’s opening and

 

closing tags

Method

sets how the form is posted to the server; can be either

 

Get or Post (the default)

Name

the form’s name

Style

contains the control’s CSS properties

TagName

returns the element’s tag name

Target

sets the target frame or window to render the results

 

of information posted to the server

Visible

if set to False, the control won’t be visible

HtmlGeneric Control

The HtmlGeneric control corresponds to HTML elements that do not have their own specific HTML controls, such as <div>, <span> etc.

Properties

Attributes

a collection of the element’s attribute names and their

 

values

Disabled

if set to True, the control will be disabled

ID

contains the control’s ID

InnerHtml

contains the content between the element’s opening

 

and closing tags

InnerText

contains the text between the element’s opening and

 

closing tags

Style

contains the control’s CSS properties

TagName

returns the element’s tag name

646