Manning ASP.NET AJAX in Action (2008).pdf

(11596 KB) Pobierz
ASP.NET AJAX
in Action
ALESSANDRO GALLO
DAVID BARKOL
RAMA KRISHNA VAVILALA
MANNING
Greenwich
(74° w. long.)
1015579186.002.png 1015579186.003.png
For online information and ordering of this and other Manning books, please visit
www.manning.com. The publisher offers discounts on this book when ordered in quantity.
For more information, please contact:
Special Sales Department
Manning Publications Co.
Sound View Court 3B
fax: (609) 877-8256
Greenwich, CT 06830
email: orders@manning.com
©2008 by Manning Publications Co. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in
any form or by means electronic, mechanical, photocopying, or otherwise, without prior written
permission of the publisher.
Many of the designations used by manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear in the book, and Manning
Publications was aware of a trademark claim, the designations have been printed in initial caps
or all caps.
Recognizing the importance of preserving what has been written, it is Manning’s policy to have
the books we publish printed on acid-free paper, and we exert our best efforts to that end.
Manning Publications Co.
Copyeditor:
Tiffany Taylor
Sound View Court 3B
Typesetter:
Gordan Salinovic
Greenwich, CT 06830
Cover designer:
Leslie Haimes
ISBN 1-933988-14-2
Printed in the United States of America
12345678910–MAL –13121110090807
1015579186.004.png 1015579186.005.png
brief contents
P ART 1ASP.NET AJAX BASICS ................................................1
1
Introducing ASP.NET AJAX
3
2
First steps with the Microsoft Ajax Library
36
3
JavaScript for Ajax developers
73
4
Exploring the Ajax server extensions
114
5
Making asynchronous network calls
141
6
Partial-page rendering with UpdatePanels
194
P ART 2A DVANCED TECHNIQUES ........................................... 229
7
Under the hood of the UpdatePanel
231
8
ASP.NET AJAX client components
264
9
Building Ajax-enabled controls
299
10
Developing with the Ajax Control Toolkit
332
vii
viii
BRIEF CONTENTS
P ART 3ASP.NET AJAX F UTURES .........................................371
11
XML Script
373
12
Dragging and dropping
410
P ART 4M ASTERING ASP.NET AJAX .....................................441
13
Implementing common Ajax patterns
443
contents
forewords xvii
preface xxi
acknowledgments xxiii
about this book xxv
about the authors xxxi
about the title xxxii
about the cover illustration
xxxiii
P ART 1 ASP.NET AJAX BASICS ..................................... 1
1 Introducing ASP.NET AJAX
3
1.1
What is Ajax? 4
Ajax components
5 Asynchronous web programming
7
The XMLHttpRequest object
10 Ajax development issues
14
1.2
ASP.NET AJAX architecture
15
Client framework
16 Server framework
19 Client-centric
development model
20 Server-centric development model
21
ASP.NET AJAX goals
22
1.3
ASP.NET AJAX in action
23
Simple server-centric solution
23 UpdateProgress control
28
Simple client-centric example
30
1.4
Summary
34
ix
1015579186.001.png
 
Zgłoś jeśli naruszono regulamin