Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
1Activity
×
0 of .
Results for:
No results containing your search query
P. 1
ICallabck

ICallabck

Ratings:

5.0

(1)
|Views: 604|Likes:
Published by Santosh Kumar

More info:

Published by: Santosh Kumar on Aug 20, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

07/01/2009

pdf

text

original

 
Contents
AcknowledgmentsixIntroductionxix
Chapter 1: Introduction to Ajax on ASP.NET1
Development Trends1ASP.NET Development2
Design Methodology2Problems ASP.NET Solves2
So,Whats the Problem?4Improving the User Experience5What Is Ajax?6
Advantages of Ajax6History of Ajax7Technologies That Make Up Ajax8Running Ajax Applications8
Whos Using Ajax?9Problems Ajax Wont Solve9Summary10
Chapter 2: Introduction to DHTML11
What JavaScript Is,and What It Isnt11General Rules of JavaScript12Writing Your First Block of JavaScript Code13
document.write()14Using document.write() in Nested for() Loops14window.status and Events16
Getting Input from the User17
Security Concerns When Getting Text Input18Canceling the Normal Outcome of an Event18Causing an Event Not to Bubble Up19
Working with Images19
Working with the image src Attribute20Using Functions20Programmatically Populating the Options in <select>21Using the innerHTML Property23
 
xii
Contents
Manipulating the Style Sheet24Creating a Context Menu26Summary27
Chapter 3: JavaScript and the Document Object Model29
From Static to Dynamic A Brief History30Attempts at Standardization30Digging into Some More JavaScript Basics31
Functions and Syntax33Event Handlers34
Core Language35
Variables35Comments35Datatypes36Operators and Expressions39Flow Control and Loops40More on Objects and Functions43Summary of Material So Far51
The Document Object Model51
Object Model Standardization (or Lack Thereof)53Working with the DOM57Manipulating Nodes62Properties of a Node64DOM Level 0 General Collections69The DOM,Styles,and CSS70
Summary74
Chapter 4: The XMLHttpRequest Object77
Code Examples for This Chapter77What Is the XMLHttpRequest Object?78
A Little History78Synchronous Requests81Asynchronous Requests82Dealing with Response Data84Enhancing Usability88Passing Parameters to the Server93What about Web Services?97
Summary102
 
xiii
Contents
Chapter 5: Data Communication: XML,XSLT,and JSON103
XML104
History of XML104XML Documents105Parsing XML111XML Summary112
XSLT112
How Processing Occurs112Built-In Functions114Processing with XSLT116Writing Functions in XSLT120
X Path121Integrating XML and Ajax122JSON124
Layout of JSON124JSON Example125
Summary126
Chapter 6: What Is Built into ASP.NET127
Out-of-the-Box Controls127
TreeView Control128GridView Control129DetailsView Control132
Browser Compatibility132The Framework133
ICallbackEventHandler Interface133Page.ClientScript System.Web.UI.ClientScriptManager134
Making All the Moving Parts Work Together135
Obtaining a Callback Reference135Implementing the ICallbackEventHandler Interface136Initiating the Asynchronous Process from the Browser138Handling the Result of Asynchronous Server-Side Call on the Client138Handling Errors in the Asynchronous Process141
Dealing with Complex Data144
Enabling the Page for Asynchronous Callbacks145Obtaining the Data Implementing the ICallbackEventHandler interface146Dealing with the Returned Data on the Client149Limitations on Returning Complex Data in XML154ICallbackContainer Interface154
Summary156

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->