SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 55 | Next

Rob Cameron and Dale Michalk

"Pro ASP.NET 3.5 Server Controls and AJAX Components"

NET parsing engine is responsible for mapping the HTML tag to the correct control
type in System.Web.UI.HtmlControls when it sees this marker attribute. The preceding example
adds an instance of the HtmlInputText control to the web form??™s control collection.
?– Note If you want to modify or interact with any of the literal controls on the server side, you have two
options. One option is to walk the page??™s control tree collection to find the desired control. The other option is
declare the control in the code-behind class file. In the previous input example, the declaration would look like
this: protected System.Web.UI.HtmlControls.HtmlInputText name;.
CHAPTER 1 ?–  SERVER CONTROL BASICS 15
Although they may look like their HTML cousins, these controls set themselves apart by
remembering state, raising events, allowing themselves to be programmatically manipulated
in server-side code, and providing other value-add services such as file upload when the form
post has reached the Web. The full list of HTML controls available in the System.Web.UI.
HtmlControls namespace is depicted in Figure 1-9.
Figure 1-9. Controls in the System.Web.UI.HtmlControls namespace
Table 1-1 is useful for figuring out which of the HTML tags maps to a specific HTML control.


Pages:
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6