Prev | Current Page 646 | Next

Rob Cameron and Dale Michalk

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

NET targets desktop browsers. User controls play an important
role in this architecture. Here is a list of important characteristics of user controls:
??? User controls are a great way to package HTML and modularize web development. They
are also a means of replacing the use of IIS include files.
??? User controls support properties and methods that can be set either in the HTML as
attributes or in the code-behind page of the hosting .ascx page.
??? User controls can be cached in the ASP.NET cache based on a number of different parameters
to speed web application performance (as detailed in the ASP.NET documentation).
??? Certain tags are not permitted in a user control??”specifically, the , , ,
and
tags. Using these tags would interfere with the functioning of the hosting
.aspx page.
??? User control tag declarations should appear between the hosting .aspx page??™s beginning
and ending form tags to ensure proper operation.
SupportsQueryStringInFormAction Indicates whether a device supports a query
string in the action attribute of a tag.
SupportsRedirectWithCookie Indicates whether a device honors the
Set-Cookie header when the cookie is sent
in conjunction with a redirect.
SupportsSelectMultiple Indicates whether a device supports the
multiple attribute for HTML select tags.


Pages:
634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658