Skip to:Content
|
Bottom
Cover image for Programming microsoft web forms
Title:
Programming microsoft web forms
Personal Author:
Publication Information:
Redmond, Washington : Microsoft Press, 2006
ISBN:
9780735621794

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010124727 TK5105.8885.W43 R44 2006 Open Access Book Book
Searching...

On Order

Summary

Summary

Get the focused, straightforward information you need to master the most common challenges in developing real-world Web Forms applications. Whether you're a new or experienced developer, you'll learn the essential techniques for exploiting new forms and controls in Microsoft ASP.NET 2.0--enabling you to write Web applications more quickly and with less code.

Discover how to:

Work with standard ASP.NET controls for common tasks Create your own user controls and custom server controls Lay out forms with HTML and Cascading Style Sheets Create common page elements just once with Master Pages Style your Web Forms with themes and skins Add Web Parts and allow users to personalize pages Access and edit data with Microsoft ADO.NET objects Bind data to your form controls--without adding any code Create security-enhanced Web applications Integrate your Web forms with Windows Forms applications

PLUS--Get code samples on the Web


Author Notes

Douglas J. Reilly is a Microsoft Most Valuable Professional (MVP) for ASP/ASP.NET and a member of the ASPInsiders team


Table of Contents

Acknowledgmentsp. xi
Introductionp. xiii
Who Is This Book For?p. xiii
Organization of This Bookp. xiv
System Requirementsp. xv
Configuring SQL Server 2005 Express Editionp. xv
Prerelease Softwarep. xvi
Technology Updatesp. xvi
Code Samplesp. xvii
Support for This Bookp. xvii
Questions and Commentsp. xvii
1 The Web Forms Environmentp. 1
What Is a Web Form?p. 2
Why Create Web Forms Applications?p. 2
Web Forms Can Run Anywhere, on Any Devicep. 3
Web Forms Can Run Without Installationp. 3
Web Forms Are Familiarp. 3
Web Forms Applications Scale Wellp. 3
How Do You Create a Web Form?p. 4
Source View and HTMLp. 11
Understanding Where Code Is Runp. 15
Mixing Client and Server Codep. 19
Configuring IISp. 24
Conclusionp. 25
2 A Multitude of Controlsp. 27
The System.Web.UI.WebControls Namespacep. 28
The System.Web.UI.Control Classp. 28
The System.Web.UI.WebControl Classp. 39
Other Controlsp. 63
Conclusionp. 64
3 Web Form Layoutp. 65
HTML Tables 101p. 66
Cascading Style Sheets 101p. 81
Themes and Skinsp. 88
Master Pagesp. 91
The Wizard Controlp. 98
Conclusionp. 108
4 Working with Web Partsp. 109
Web Parts in Actionp. 110
The Parts of Web Partsp. 112
Display Modes and Web Partsp. 120
Adding Componentsp. 122
Programmatically Controlling Web Partsp. 126
Conclusionp. 130
5 Data Bindingp. 131
The DataSource Controlp. 133
The SqlDataSource Controlp. 134
The GridView Controlp. 143
Edit Template Modep. 146
Pagingp. 148
Sortingp. 150
Editingp. 150
Deletingp. 152
Selectingp. 152
Using a Custom EditltemTemplatep. 153
The DetailsView Controlp. 157
Selecting a Row in the GridView Control to View in the DetailsView Controlp. 159
Selecting a Row in the GridView Control to Edit in the DetailsView Controlp. 161
The MultiView Controlp. 165
Populating the Details Editing Formp. 169
Future Enhancementsp. 187
Conclusionp. 188
6 Custom Controlsp. 189
Types of Controls You Can Createp. 190
User Controlsp. 191
Creating a User Control in Visual Studiop. 191
Caching a User Controlp. 195
Creating a User Control by Converting a Pagep. 200
Custom Server Controlsp. 211
Building and Installing the Default WebCustomControl Controlp. 211
Building a Composite Controlp. 217
Creating a Control That Mixes Client and Server Codep. 224
Custom Web Partsp. 227
Wrapping Standard Controls for Use in Web Partsp. 231
Conclusionp. 235
7 Web Forms User Security and Administrationp. 237
Administering an ASP.NET 2.0 Sitep. 238
Provider Configurationp. 240
Securityp. 241
Applicationp. 250
The Login Controlsp. 251
Loginp. 252
LoginViewp. 252
PasswordRecoveryp. 252
LoginStatusp. 253
LoginNamep. 253
CreateUserWizardp. 253
ChangePasswordp. 253
The BikeBlogSecured Applicationp. 253
Conclusionp. 261
8 Integrating with Windows Forms Applicationsp. 263
WebBrowser Control Examplep. 264
WebBrowser Control Detailsp. 266
A Tabbed Interface Web Browserp. 267
Accessing Content from a WebBrowser Controlp. 272
Other Ways to Work with Web Datap. 275
Conclusionp. 275
A Creating and Deploying Applications in IISp. 277
Creating an Application in IISp. 277
Deploying a Web Forms Applicationp. 284
Deploying an Application Using XCopy Deploymentp. 285
Deploying an Application Using Visual Studiop. 286
Deploying an Application Using a Web Setup Projectp. 289
Which Deployment Option Is Right for You?p. 291
Indexp. 293
Go to:Top of Page