Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is the Rough Cut version of the printed book.
The most comprehensive book on Microsoft’s new ASP.NET 4, ASP.NET 4 Unleashed covers all facets of ASP.NET development. Led by Microsoft ASP.NET program manager Stephen Walther, an expert author team thoroughly covers the entire platform.
The authors first introduce the ASP.NET Framework’s basic controls and show how to create common site-wide layouts and styles. Next, they cover all aspects of accessing, presenting, organizing, and editing data. You’ll find thorough and practical sections on building custom components and controls, providing effective site navigation, securing sites and applications, and much more. This book presents hundreds of realistic code examples, reflecting the authors’ unsurpassed experience with ASP.NET both inside and outside Microsoft.
Introduction 1
Part I Building ASP.NET Pages
1 Overview of the ASP.NET Framework 5
ASP.NET and the .NET Framework 9
Understanding the Framework Class Library 9
Understanding the Common Language Runtime 17
Understanding ASP.NET Controls 19
Overview of ASP.NET Controls 19
Understanding HTML Controls 21
Understanding and Handling Control Events 22
Understanding View State 28
Understanding ASP.NET Pages 34
Understanding Dynamic Compilation 34
Understanding Control Trees 38
Using Code-Behind Pages 39
Handling Page Events 44
Using the Page.IsPostBack Property 46
Debugging and Tracing ASP.NET Pages 48
Tracing Page Execution 52
Installing ASP.NET 55
Summary 57
2 Using the Standard Controls 59
Displaying Information 59
Using the Label Control 60
Using the Literal Control 65
Accepting User Input 68
Using the TextBox Control 68
Using the CheckBox Control 76
Using the RadioButton Control 79
Submitting Form Data 84
Using the Button Control 84
Using the LinkButton Control 86
Using the ImageButton Control 89
Using Client Scripts with Button Controls 94
Performing Cross-Page Posts 96
Specifying a Default Button 100
Handling the Command Event 101
Displaying Images 104
Using the Image Control 104
Using the ImageMap Control 106
Using the Panel Control 111
Using the HyperLink Control 118
Summary 119
3 Using the Validation Controls 121
Overview of the Validation Controls 121
Validation Controls and JavaScript 126
Using Page.IsValid 126
Setting the Display Property
