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 53 | Next

Rob Cameron and Dale Michalk

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


The LiteralControl class is the simplest of the two shown in the control dump, because it
is a pure text-in and text-out operation. Notice how the control tree picks up the
tags
between the other server controls as well as the closing and tags as LiteralControl
objects. The ResourceBasedLiteralControl that was present in ASP.NET 1.1 was removed in
ASP.NET 2.0. That is not a backward compatibility concern, because the class is an internally
implemented class in the ASP.NET 1.1 framework that is not creatable or accessible by the
programmer.
The DataBoundLiteralControl is the most complex of the literal controls, because it represents
a data-binding expression like the one in the document that binds to the GetTitle()
method of the Page object. It has a DataBind() method that must be called by the Page class to
resolve its value, just like the DropDownList control had to read from the ArrayList data source
in its DataBind() operations.
The Root Controls
The previous demonstration highlighted the server-control-centric nature of the ASP.NET web
form page execution process. We now shift gears to briefly discuss where the various controls
exist inside the .NET Framework and what features they provide in rendering HTML.


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