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 applicationsPLUS--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
Acknowledgments | p. xi |
Introduction | p. xiii |
Who Is This Book For? | p. xiii |
Organization of This Book | p. xiv |
System Requirements | p. xv |
Configuring SQL Server 2005 Express Edition | p. xv |
Prerelease Software | p. xvi |
Technology Updates | p. xvi |
Code Samples | p. xvii |
Support for This Book | p. xvii |
Questions and Comments | p. xvii |
1 The Web Forms Environment | p. 1 |
What Is a Web Form? | p. 2 |
Why Create Web Forms Applications? | p. 2 |
Web Forms Can Run Anywhere, on Any Device | p. 3 |
Web Forms Can Run Without Installation | p. 3 |
Web Forms Are Familiar | p. 3 |
Web Forms Applications Scale Well | p. 3 |
How Do You Create a Web Form? | p. 4 |
Source View and HTML | p. 11 |
Understanding Where Code Is Run | p. 15 |
Mixing Client and Server Code | p. 19 |
Configuring IIS | p. 24 |
Conclusion | p. 25 |
2 A Multitude of Controls | p. 27 |
The System.Web.UI.WebControls Namespace | p. 28 |
The System.Web.UI.Control Class | p. 28 |
The System.Web.UI.WebControl Class | p. 39 |
Other Controls | p. 63 |
Conclusion | p. 64 |
3 Web Form Layout | p. 65 |
HTML Tables 101 | p. 66 |
Cascading Style Sheets 101 | p. 81 |
Themes and Skins | p. 88 |
Master Pages | p. 91 |
The Wizard Control | p. 98 |
Conclusion | p. 108 |
4 Working with Web Parts | p. 109 |
Web Parts in Action | p. 110 |
The Parts of Web Parts | p. 112 |
Display Modes and Web Parts | p. 120 |
Adding Components | p. 122 |
Programmatically Controlling Web Parts | p. 126 |
Conclusion | p. 130 |
5 Data Binding | p. 131 |
The DataSource Control | p. 133 |
The SqlDataSource Control | p. 134 |
The GridView Control | p. 143 |
Edit Template Mode | p. 146 |
Paging | p. 148 |
Sorting | p. 150 |
Editing | p. 150 |
Deleting | p. 152 |
Selecting | p. 152 |
Using a Custom EditltemTemplate | p. 153 |
The DetailsView Control | p. 157 |
Selecting a Row in the GridView Control to View in the DetailsView Control | p. 159 |
Selecting a Row in the GridView Control to Edit in the DetailsView Control | p. 161 |
The MultiView Control | p. 165 |
Populating the Details Editing Form | p. 169 |
Future Enhancements | p. 187 |
Conclusion | p. 188 |
6 Custom Controls | p. 189 |
Types of Controls You Can Create | p. 190 |
User Controls | p. 191 |
Creating a User Control in Visual Studio | p. 191 |
Caching a User Control | p. 195 |
Creating a User Control by Converting a Page | p. 200 |
Custom Server Controls | p. 211 |
Building and Installing the Default WebCustomControl Control | p. 211 |
Building a Composite Control | p. 217 |
Creating a Control That Mixes Client and Server Code | p. 224 |
Custom Web Parts | p. 227 |
Wrapping Standard Controls for Use in Web Parts | p. 231 |
Conclusion | p. 235 |
7 Web Forms User Security and Administration | p. 237 |
Administering an ASP.NET 2.0 Site | p. 238 |
Provider Configuration | p. 240 |
Security | p. 241 |
Application | p. 250 |
The Login Controls | p. 251 |
Login | p. 252 |
LoginView | p. 252 |
PasswordRecovery | p. 252 |
LoginStatus | p. 253 |
LoginName | p. 253 |
CreateUserWizard | p. 253 |
ChangePassword | p. 253 |
The BikeBlogSecured Application | p. 253 |
Conclusion | p. 261 |
8 Integrating with Windows Forms Applications | p. 263 |
WebBrowser Control Example | p. 264 |
WebBrowser Control Details | p. 266 |
A Tabbed Interface Web Browser | p. 267 |
Accessing Content from a WebBrowser Control | p. 272 |
Other Ways to Work with Web Data | p. 275 |
Conclusion | p. 275 |
A Creating and Deploying Applications in IIS | p. 277 |
Creating an Application in IIS | p. 277 |
Deploying a Web Forms Application | p. 284 |
Deploying an Application Using XCopy Deployment | p. 285 |
Deploying an Application Using Visual Studio | p. 286 |
Deploying an Application Using a Web Setup Project | p. 289 |
Which Deployment Option Is Right for You? | p. 291 |
Index | p. 293 |