Developing Microsoft ASP.NET Server Controls and Components |
By Nikhil Kothari, Vandana Datje |
| |
Publisher | : Microsoft Press |
Pub Date | : September 28, 2002 |
ISBN | : 0-7356-1582-9 |
Pages | : 752 |
| Copyright |
| | Dedication |
| | Foreword |
| | Acknowledgments |
| | | Nikhil Kothari's Acknowledgments |
| | | Vandana Datye's Acknowledgments |
|
| | Introduction |
| | | Prerequisites |
| | | Structure of the Book |
| | | Sample Files |
| | | Creating an IIS Virtual Directory |
| | | Tools for Control Authoring and Related Tasks |
| | | Other Resources |
| | | Support |
|
| | Overview |
| | | ASP.NET Overview |
| | | The .NET Framework |
| | | A Quick Tour of ASP.NET |
| | | HTTP Runtime ”Request Processing in an ASP.NET Application |
| | | Extending ASP.NET |
| | | Summary |
|
| | | Page Programming Model |
| | | A Sample Page |
| | | Server Controls |
| | | From Text to Controls |
| | | Code Model |
| | | Page Execution Model |
| | | ASP.NET Pages in a Visual Designer |
| | | Summary |
|
| | | Component Programming Overview |
| | | Managed Component Overview |
| | | Properties |
| | | Methods |
| | | Events |
| | | Metadata Attributes |
| | | Designable Components |
| | | Summary |
|
|
| | Server Controls ” First Steps |
| | | User Controls: From Page to Control |
| | | Converting a Page to a User Control |
| | | Reusable User Controls: The SiteHeader and SiteFooter Examples |
| | | The User Control Model |
| | | Deploying a User Control |
| | | An Application-Specific User Control: The CruiseSelector Example |
| | | Relative URLs in User Controls |
| | | Programmatically Instantiating a User Control |
| | | Caching a User Control |
| | | Summary |
|
| | | Developing a Simple Custom Control |
| | | Server Control Overview |
| | | A Trivial Server Control Example |
| | | Compiling and Deploying a Server Control |
| | | Exposing a Property: The PrimeGenerator Control Example |
| | | Choosing the Base Class for Your Control |
| | | Applying Design-Time Attributes |
| | | Custom Controls in Visual Studio .NET |
| | | Debugging a Server Control |
| | | Summary |
|
| | | Custom Controls vs. User Controls |
| | | Deployment |
| | | Authoring |
| | | Content and Layout |
| | | Design-Time Behavior |
| | | Performance |
| | | Summary |
|
|
| | Server Controls ”Nuts and Bolts |
| | | Simple Properties and View State |
| | | View State and State Management |
| | | Declarative Persistence of Simple Properties |
| | | Properties Inherited from Control and WebControl |
| | | Design-Time Attributes for Properties |
| | | Putting It Together ”The PageTracker Example |
| | | Summary |
|
| | | Rendering |
| | | Base Classes and Rendering |
| | | Rendering Methods of the Control Class |
| | | Overriding Render ”The MetaTag Control Example |
| | | HtmlTextWriter and Related Enumerations |
| | | Rendering Methods of WebControl |
| | | Rendering a Web Control ”The HoverLabel Example |
| | | Exercising HtmlTextWriter ” The LoginUI Example |
| | | Downlevel Rendering |
| | | Summary |
|
| | | Control Life Cycle, Events, and Postback |
| | | Control Life Cycle |
| | | Events in Server Controls |
| | | Postback Architecture |
| | | Mapping a Postback Event to a Server Event ” The IPostBackEventHandler Interface |
| | | Optimizing Event Implementation |
| | | Generating Client-Side Script for Postback |
| | | IPostBackDataHandler and Postback Data |
| | | Putting It Together ”The Login Example |
| | | Exposing Other Semantic Events ”The HitTracker Example |
| | | Summary |
|
| | | Complex Properties and State Management |
| | | Subproperties |
| | | Properties and Type Converters |
| | | State Management, IStateManager , and the ViewState Dictionary |
| | | Implementing IStateManager in a Custom Type |
| | | Collection Properties ”The ImageMap Example |
| | | Expando Attributes ”The IAttributeAccessor Interface |
| | | Summary |
|
| | | Styles in Controls |
| | | Styles Overview |
| | | Overriding Style Properties ”The Spreadsheet Example |
| | | Implementing a Custom Typed Style ” The MyPanelStyle Example |
| | | Summary |
|
| | | Composite Controls |
| | | Composite Controls ”Key Concepts |
| | | Implementing a Composite Control ”The CompositeLogin Example |
| | | Control Parsing and Control Builders |
| | | Summary |
|
| | | Client-Side Behavior |
| | | Browser Capabilities and Client-Side Behavior |
| | | Client Script “Related API |
| | | Using Client Script and DHTML |
| | | Deploying Client Files |
| | | Putting It Together ”The HtmlEditor Example |
| | | Summary |
|
| | | Validator Controls |
| | | Validation Architecture ” IValidator , BaseValidator , and CustomValidator |
| | | The Validation Framework |
| | | Validating Text Entry ”The StringValidator Example |
| | | Summary |
|
| | | Design-Time Functionality |
| | | .NET Framework Design-Time Architecture |
| | | Type Converters |
| | | Designers |
| | | Read-Write Control Designers ”The ScrollablePanelDesigner Example |
| | | Designer Verbs |
| | | DesignerAttribute |
| | | UI Type Editors |
| | | Component Editors |
| | | Debugging Design-Time Code |
| | | Summary |
|
| | | Data-Bound Controls |
| | | Data Binding Overview |
| | | Implementing a Data-Bound Control |
| | | Implementing a Data-Bound Control Designer |
| | | Summary |
|
| | | Localization, Licensing, and Other Miscellany |
| | | Localization |
| | | Licensing |
| | | Configurable Properties |
| | | Deployment |
| | | Summary |
|
|
| | Server Components |
| | | XML Web Services |
| | | XML Web Services Overview |
| | | Developing an XML Web Service ” The StockWebService Example |
| | | XML Web Service “Based Server Controls ” The StockGrid Example |
| | | Summary |
|
| | | HTTP Handlers |
| | | HTTP Handler Overview |
| | | The "Hello, World" HTTP Handler Example |
| | | Handling a New Extension ”The XmlHandler Example |
| | | Dynamic Images ”The ImageLabelHandler Example |
|
|
| | Server Control Case Studies |
| | | Data-Bound Templated Controls |
| | | The ListView Control |
| | | ListView Specification |
| | | ListView Implementation |
| | | Summary |
|
| | | DHTML-Based Server Controls |
| | | The DatePicker Control |
| | | DatePicker Specification |
| | | DatePicker and DatePickerDesigner Implementation |
| | | Summary |
|
|
| | Appendixes |
| | | Metadata Attributes |
| | | Design-Time Attributes |
| | | Parse-Time Attributes |
|
| | | Object Model for Common Classes |
| | | Microsoft ASP.NET Web Matrix |
| | | Web Matrix Features |
| | | Web Matrix for Component Developers |
| | | Summary |
|
|
| | About the Author |
| | | Nikhil Kothari |
| | | Vandana Datye |
|