2007年5月14日

User Controls

摘要: In addition to the built-in server controls provided by ASP.NET, you can easily define your own controls using the same programming techniques that you have already learned for writing Web Forms pages... 阅读全文

posted @ 2007-05-14 10:38 改变热爱 阅读(302) 评论(0) 推荐(0)

HTML Controls[15]->HtmltextArea

摘要: The HtmlTextArea control is a multiline input control that lets the user enter text. The display width of HtmlTextArea is determined by its Cols property, and the display height is determined by the R... 阅读全文

posted @ 2007-05-14 10:37 改变热爱 阅读(193) 评论(0) 推荐(0)

HTML Controls[14]->HtmlTable , HtmlTableRow , and HtmlTableCell

摘要: The HtmlTable control lets you build up a table programmatically by adding HtmlTableRow controls to the table's Rows collection and HtmlTableCell controls to the row's Cells collection. You can add co... 阅读全文

posted @ 2007-05-14 10:36 改变热爱 阅读(254) 评论(0) 推荐(0)

HTML Controls[12]->HtmlInputText

摘要: The HtmlInputText control is a single-line input control that lets the user enter text. HtmlInputText supports two behaviors. If Type is Text, HtmlInputText operates as a standard text box. If Type is... 阅读全文

posted @ 2007-05-14 10:35 改变热爱 阅读(182) 评论(0) 推荐(0)

HTML Controls[13]->HtmlSelect

摘要: The HtmlSelect control provides a drop-down list. The following sample illustrates using the HtmlSelect control. C# HtmlSelect1.aspx The following sample illustrates using data binding with an HtmlSe... 阅读全文

posted @ 2007-05-14 10:35 改变热爱 阅读(183) 评论(0) 推荐(0)

HTML Controls[11]->HtmlInputRadioButton

摘要: An HtmlInputRadioButton control creates a single radio button input field. Setting the Name attribute the same way on each radio button forms a group in which only one radio button can be selected at ... 阅读全文

posted @ 2007-05-14 10:34 改变热爱 阅读(186) 评论(0) 推荐(0)

HTML Controls[9]->HtmlInputHidden

摘要: You can use hidden controls within HTML forms to embed non-visible information that will be sent back to the server the next time a user performs a postback. This technique is commonly used to persist... 阅读全文

posted @ 2007-05-14 10:33 改变热爱 阅读(213) 评论(0) 推荐(0)

HTML Controls[10]->HtmlInputImage

摘要: An HtmlInputImage control is used to create a graphical button. Unlike HtmlButton controls, all standard browser clients support image buttons. The following sample illustrates using the HtmlInputImag... 阅读全文

posted @ 2007-05-14 10:33 改变热爱 阅读(131) 评论(0) 推荐(0)

HTML Controls[7]->HtmlInputCheckBox

摘要: The HtmlInputCheckBox control accepts Boolean (true/false) input. When selected, its Checked property is true. The following sample illustrates using the HtmlInputCheckBox control. C# HtmlInputCheckBo... 阅读全文

posted @ 2007-05-14 10:31 改变热爱 阅读(202) 评论(0) 推荐(0)

HTML Controls[8]->HtmlInputFile

摘要: An HtmlInputFile control handles uploading of binary or text files from a client browser to the server. File-upload works with all HTML 3.2 and later Web clients. Note that the Enctype attribute on th... 阅读全文

posted @ 2007-05-14 10:31 改变热爱 阅读(169) 评论(0) 推荐(0)

HTML Controls[6]->HtmlInputButton

摘要: The HtmlInputButton control (<Input type=button>) is similar in function to the <button> tag, except that it can target any browser. The following sample illustrates using the HtmlInputBut... 阅读全文

posted @ 2007-05-14 10:29 改变热爱 阅读(178) 评论(0) 推荐(0)

HTML Controls[5]->HtmlImage

摘要: An HtmlImage control renders the image file specified by its Src property in an HTML <img> tag. The following sample illustrates using the HtmlImage control. C# HtmlImage1.aspx 阅读全文

posted @ 2007-05-14 10:28 改变热爱 阅读(137) 评论(0) 推荐(0)

HTML Controls[4]->HtmlGeneric

摘要: The HtmlGenericControl provides an ASP.NET server control implementation for all unknown HTML server control tags not directly represented by a specific HTML server control (for example, <span>,... 阅读全文

posted @ 2007-05-14 10:27 改变热爱 阅读(138) 评论(0) 推荐(0)

HTML Controls[3]->HtmlForm

摘要: An HtmlForm control is required to process postback requests. A Web Forms page might only have one server side <form> tag; however, client forms (no runat=server attribute) can also postback to ... 阅读全文

posted @ 2007-05-14 10:26 改变热爱 阅读(155) 评论(0) 推荐(0)

HTML Controls[2]->HtmlButton

摘要: The HtmlButton control renders as an HTML 4.0 <button>. This differs from <input type="button"> in that it enables Web developers to create rich user interface form buttons that can be com... 阅读全文

posted @ 2007-05-14 10:25 改变热爱 阅读(135) 评论(0) 推荐(0)

导航