| |
| |
Introduction | |
| |
| |
| |
Working with ASP.NET WEB Forms | |
| |
| |
| |
Building ASP.NET Pages | |
| |
| |
ASP.NET and the .NET Framework | |
| |
| |
The .NET Framework Class Library | |
| |
| |
Understanding Namespaces | |
| |
| |
Standard ASP | |
| |
| |
NET Namespaces | |
| |
| |
.NET Framework-Compatible Languages | |
| |
| |
Introducing ASP.NET Controls | |
| |
| |
A Simple ASP.NET Page | |
| |
| |
Benefits of ASP.NET Controls | |
| |
| |
Overview of ASP.NET Controls | |
| |
| |
Adding Application Logic to an ASP.NET Page | |
| |
| |
Handling Control Events. Handling Page Events | |
| |
| |
The Structure of an ASP.NET Page | |
| |
| |
Directives | |
| |
| |
Code Declaration Blocks | |
| |
| |
ASP.NET Controls | |
| |
| |
Code Render Blocks | |
| |
| |
Server-side Comments | |
| |
| |
Server-side Include Directives | |
| |
| |
Literal Text and HTML Tags | |
| |
| |
Summary | |
| |
| |
| |
Building Forms with Web Server Controls | |
| |
| |
Building Smart Forms | |
| |
| |
Using Label Controls | |
| |
| |
Using the Text Box Control | |
| |
| |
Using Button Controls | |
| |
| |
Using the Radio Button and Radio Button List Controls | |
| |
| |
Using the Check Box and Check Box List Controls | |
| |
| |
Using the Drop Down List Control | |
| |
| |
Using the List Box Control | |
| |
| |
Controlling Page Navigation | |
| |
| |
Submitting a Form to a Different Page | |
| |
| |
Using the Redirect() Method | |
| |
| |
Working with the HyperLink Control | |
| |
| |
Applying Formatting to Controls | |
| |
| |
Base Web Control Properties | |
| |
| |
Applying Styles to Web Controls | |
| |
| |
Summary | |
| |
| |
| |
Performing Form Validation with Validation Controls | |
| |
| |
Using Client-side Validation | |
| |
| |
Configuring Client-side Validation. Enabling and Disabling Client-side Validation | |
| |
| |
Requiring Fields: The Required Field Validator Control | |
| |
| |
Comparing to an Initial Value | |
| |
| |
Validating Expressions: The Regular Expression Validator Control | |
| |
| |
Validating E-Mail Addresses | |
| |
| |
Validating Usernames and Passwords | |
| |
| |
Validating Phone Numbers | |
| |
| |
Validating Web Addresses | |
| |
| |
Checking for Entry Length | |
| |
| |
Validating ZIP Codes | |
| |
| |
Comparing Values: The CompareValidator Control | |
| |
| |
Comparing the Value of One Control to the Value of Another | |
| |
| |
Comparing the Value of a Control to a Fixed Value | |
| |
| |
Performing a Data Type Check | |
| |
| |
Checking for a Range of Values: The Range Validator Control | |
| |
| |
Summarizing Errors: The Validation Summary Control | |
| |
| |
Displaying Pop-Up Error Messages | |
| |
| |
Performing Custom Validation: The Custom Validator Control | |
| |
| |
Validating Credit Card Numbers | |
| |
| |
Disabling Validation | |
| |
| |
Summary | |
| |
| |
| |
Advanced Control Programming | |
| |
| |
Working with View State | |
| |
| |
Disabling View State | |
| |
| |
Adding Values to View State | |
| |
| |
Displaying and Hiding Content | |
| |
| |
Using the Visible and Enabled Properties | |
| |
| |
Using the Panel Control | |
| |
| |
Simulating Multipage Forms | |
| |
| |
Adding Controls Programmatically | |
| |
| |
Adding Controls to a Page | |
| |
| |
The Place Holder Control | |
| |
| |
Dynamically Generating Forms | |
| |
| |
Dynamically Generating List Items | |
| |
| |
Using Rich Controls | |
| |
| |
Displaying Interactive Calendars with the Calendar Control | |
| |
| |
Rendering Calendar Days | |
| |
| |
Displaying Banner Advertisements with the AdRotator Control | |
| |
| |
Accepting File Uploads with the HTML Input File Control | |
| |
| |
Summary | |
| |
| |
| |
Advanced ASP.NET Page Development | |
| |
| |
| |
Creating Custom Controls with User Controls | |
| |
| |
Including Standard Content with User Controls | |
| |
| |
Exposing Properties and Methods in User Controls | |
| |
| |
Exposing Web Controls in User Controls | |
| |
| |
Exposing Events in User Controls | |
| |
| |
Loading User Controls Programmatically | |
| |
| |
Summary | |
| |
| |
| |
Separating Code from Presentation | |
| |
| |
Creating Business Components | |
| |
| |
Creating a Simple Business Component | |
| |
| |
Creating Multitiered Web Applications. Using Code-Behind | |
| |
| |
How Code-Behind Really Works | |
| |
| |
Compiling Code-Behind Files | |
| |
| |
Inheriting Multiple Pages from a Code-Behind File | |
| |
| |
Compiling a Complete ASP.NET Page | |
| |
| |
Summary | |
| |
| |
| |
Targeting Mobile Devices with Mobile Controls | |
| |
| |
Introduction to Mobile Devices | |
| |
| |
Using Mobile Device Software Simulators | |
| |
| |
Using ASP.NET Mobile Controls | |
| |
| |
Creating Mobile Forms | |
| |
| |
Dynamically Activating a Mobile Form | |
| |
| |
Displaying Text | |
| |
| |
Displaying Lists | |
| |
| |
Creating Text Boxes | |
| |
| |
Validating User Input | |
| |
| |
Displaying Images | |
| |
| |
Placing Phone Calls | |
| |
| |
Displaying Advertisements with Mobile Controls | |
| |
| |
Displaying Calendars with Mobile Controls | |
| |
| |
Creating Cross-Device-Compatible Mobile Pages | |
| |
| |
Detecting Mobile Capabilities | |
| |
| |
Choosing Devices with DeviceSpecific | |
| |
| |
Using Form Template Sets | |
| |
| |
Summary | |
| |
| |
| |
Additional Samples and Controls | |
| |
| |
Using the Microsoft Internet Explorer WebControls | |
| |
| |
Using the TreeView Control | |
| |
| |
Using the Toolbar Control | |
| |
| |
Using the TabStrip Control | |
| |
| |
Using the ASP.NET Starter Kits | |
| |
| |
The ASP.NET Community Starter Kit | |
| |
| |
The ASP.NET Reports Starter Kit | |
| |
| |
The ASP.NET Time Tracker Starter Kit | |
| |
| |
The ASP.NET Commerce Starter Kit | |
| |
| |
The ASP.NET Portal Starter Kit | |
| |
| |
Summary | |
| |
| |
| |
Working with ADO.NET | |
| |
| |
| |
Introduction to ADO.NET | |
| |
| |
An Overview of ADO.NET. Performing Common Database Tasks | |
| |
| |
Opening a Database Connection | |
| |
| |
Retrieving Records from a Database Table | |
| |
| |
Using Parameters with Queries | |
| |
| |
Adding Recor | |