tailieunhanh - Professional ASP.NET 3.5 in C# and Visual Basic Part 126
Professional in C# and Visual Basic Part 126. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS. . | Chapter 26 User and Server Controls Attribute Description Bindable Indicates that the property can be bound to a data source Browsable Indicates whether the property should be displayed at design time in the Property Browser Category Indicates the category this property should be displayed under in the Property Browser Description Displays a text string at the bottom of the Property Browser that describes the purpose of the property EditorBrowsable Indicates whether the property should be editable when shown in the Property Browser DefaultValue Indicates the default value of the property shown in the Property Browser DesignerSerializationVisibility Specifies the visibility a property has to the design-time serializer NotifyParentProperty Indicates that the parent property is notified when the value of the property is modified PersistChildren Indicates whether at design-time the child controls of a server control should be persisted as nested inner controls PersistanceMode Specifies how a property or an event is persisted to the page TemplateContainer Specifies the type of INamingContainer that will contain the template once it is created Editor Indicates the UI Type Editor class this control should use to edit its value Localizable Indicates that the property contains text that can be localized Themable Indicates whether this property can have a theme applied to it The Page Event Lifecycle Before we talk about rendering HTML you must understand the lifecycle of a Web page. As the control developer you are responsible for overriding methods that execute during the lifecycle and implementing your own custom rendering logic. Remember that when a Web browser makes a request to the server it is using HTTP a stateless protocol. provides a page-execution framework that helps create the illusion of state in a Web application. This framework is basically a series of methods and events that execute every time an 1211 Chapter 26 User and Server Controls .
đang nạp các trang xem trước