ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5:
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Indianapolis, IN
Wiley
2007
|
Schriftenreihe: | Wrox programmer to programmer
Wrox programmer's reference |
Schlagworte: | |
Online-Zugang: | Table of contents only Publisher description Inhaltsverzeichnis |
Beschreibung: | XXXVI, 1522 S. Ill. |
ISBN: | 9780470109984 |
Internformat
MARC
LEADER | 00000nam a2200000zc 4500 | ||
---|---|---|---|
001 | BV022931305 | ||
003 | DE-604 | ||
005 | 20071121 | ||
007 | t | ||
008 | 071022s2007 xxua||| |||| 00||| eng d | ||
010 | |a 2007024239 | ||
020 | |a 9780470109984 |9 978-0-470-10998-4 | ||
035 | |a (OCoLC)315780599 | ||
035 | |a (DE-599)BVBBV022931305 | ||
040 | |a DE-604 |b ger |e aacr | ||
041 | 0 | |a eng | |
044 | |a xxu |c US | ||
049 | |a DE-20 | ||
050 | 0 | |a TK5105.8885.A26 | |
082 | 0 | |a 005.2/76 | |
084 | |a ST 253 |0 (DE-625)143628: |2 rvk | ||
100 | 1 | |a Khosravi, Shahram |d 1963- |e Verfasser |0 (DE-588)142873454 |4 aut | |
245 | 1 | 0 | |a ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 |c Shahram Khosravi |
264 | 1 | |a Indianapolis, IN |b Wiley |c 2007 | |
300 | |a XXXVI, 1522 S. |b Ill. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a Wrox programmer to programmer | |
490 | 0 | |a Wrox programmer's reference | |
630 | 0 | 4 | |a Active server pages |
650 | 4 | |a Internet programming | |
650 | 4 | |a Web site development | |
650 | 4 | |a Ajax (Web site development technology) | |
650 | 4 | |a Microsoft .NET | |
650 | 0 | 7 | |a ASP.NET 2.0 |0 (DE-588)4831603-9 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a ASP.NET 2.0 |0 (DE-588)4831603-9 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | |u http://www.loc.gov/catdir/toc/ecip0720/2007024239.html |3 Table of contents only | |
856 | 4 | |u http://www.loc.gov/catdir/enhancements/fy0741/2007024239-d.html |3 Publisher description | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016136119&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-016136119 |
Datensatz im Suchindex
_version_ | 1804137162978885632 |
---|---|
adam_text | ASP.NET AJAX Programmers Reference
with ASP.NET 2.0 or ASP.NET 3.5
Acknowledgments xi
Introduction xxix
Chapter 1: AJAX Technologies 1
Chapter 2: JavaScript Base Type Extensions 27
Chapter 3: Built In and Custom Exceptlon Types 53
Chapter 4: JavaScript Object Oriented Programming and
Type Reflection Extensions 77
Chapter 5: Event Programming Extensions 131
Chapter 6: DOM Extensions 161
Chapter 7: Component Development Infrastructure 219
Chapter 8: Developing Client Controls 281
Chapter 9: Event Bubbling and Button Client Control 323
Chapter 10: Type Description Extensions 349
Chapter 11: Data Classes 407
Chapter 12: Client Server Communications 457
Chapter 13: Consumlng Web Services Via Soap Messages 511
Chapter 14: Consuming Web Services Via JSON Messages 535
Chapter 15: Proxy Ciasses 597
Chapter 16: Behaviors 659
Chapter 17: Script and Extender Server Controls 707
Chapter 18: Web Services Bridges and Transformers 773
Chapter 19: UpdatePanel and ScriptManager 857
Chapter 20: Uslng UpdatePanel in User Controls and Custom Controls ... 911
Chapter 21: Page Life Cycle and Asynchronous Partial Page Rendering... 965
Chapter 22: ASP.NET AJAX Cllent Slde PageRequestManager 1033
Chapter 23: Asynchronous Partial Page Rendering:
Server Side Processing 1105
Chapter 24: Asynchronous Partial Page Rendering:
Client Side Processing 1179
Appendix A: XML Script 1275
Appendix B: Binding 1325
Appendix C: Actions 1341
Appendix D: Data Control 1357
Appendix E: Templated Controls 1381
Appendix F: ListView 1409
Index 1481
Contents
Acknowledgments
Introduction Xl
xxix
Google Suggest
XMLHttpRequest 1
XML 4
JSON 16
object 20
array 20
string 20
number 20
null, true, and false 21
ASP.NET AJAX 21
Summa ? ***** **** Extensions and ***** Futures 25
25
ASP.NET AJAX Array Type Extensions
add 2°
addRange 28
clear 29
clone 29
contains 30
enqueue and dequeue 30
forEach 31
indexOf 33
insert 34
parse 35
remove 36
removeAt 36
ASP.NET AJAX Boolean Type Extensions 11
ASP.NET AJAX Date Type Extensions 11
ASP.NET AJAX Object Type Extensions ff
OB
ASP.NET AJAX String Type Extensions 39
endsWith 39
startsWith 40
trim 40
Formatting 41
ASP.NET AJAX Error Type Extensions 41
create 41
popStackFrame 45
Under the Hood of popStackFrame 4^
Summary **2
Chapter 3: Built In and Custom Exception Types 53
ASP.NET AJAX Built In Exception Types 53
ArgumentException 53
ArgumentNullException 56
ArgumentOutOfRangeException ^8
ArgumentTypeException ^0
ArgumentUndefinedException ^4
InvalidOperationException 66
NotlmplementedException 66
ParameterCountException 68
Implementing Custom Exception Types 7®
Recipe for Implementing Custom Exception Types 70
Using the Recipe 71
Summary 76
Chapter 4: JavaScript Object Oriented Programming
and Type Reflection Extensions ZI
JavaScript Functions 78
JavaScript Classes 79
Type 80
registerClass 81
getName 83
isCIass 84
registerNamespace 85
isNamespace 88
registerlnterface 89
getinterfaces 92
islnterface 95
Inheritance 96
Contents
getBaseType 100
initializeBase 102
resolvelnheritance 103
callBaseMethod 104
getBaseMethod 110
implementslnterface 113
inheritsFrom 118
isImplementedBy 121
getRootNamespaces 123
parse 125
registerEnum 127
isEnum 129
isRags 129
Summary 130
Chapter 5: Event Programming Extensions 131
Event Programming 131
Sys.EventArgs 132
Sys.CancelEventArgs 132
EventHandlerList 133
Using Event Programming 138
Base Classes 138
Events 144
Summary 159
Chapter 6: DOM Extensions 331
DomElement 161
getElementByld 161
addCssCIass l66
containsCssCIass 167
removeCssCIass 167
toggleCssCIass l69
getLocation 171
setLocation 172
getBounds 175
MouseButton 176
Key 176
Delegates 177
Namespace 183
Mover 184
TextProvider x°*
ImageProvider ^
DomEvent J*jj
Constructor 186
Static Methods 189
1 Qft
Instance Methods
Using the DomEvent Class 203
Mover 209
TableProvider 216
Summary 217
Qhapter 7: CompoP?nt Pgyelopment Infrastructure 219
Interfaces 220
iDisposable 22°
INotifyDisposing z
iNotityPropertyChanged 228
Component 235
IContainer 238
Application 239
addComponent 240
removeComponent 2
getComponents 242
findComponent 242
Application Lifecycle 243
Component 248
Continuing the Application Journey 253
endCreateComponents 253
raiseLoad 256
Summary of the Application Lifecycle 257
Application Level Events 258
init 258
load 259
unload 260
Disposable Objects 260
Using the Application Object and Component Base Class 263
dispose 264
initialize 267
id 269
raisePropertyChanged 270
geCevents 271
Contents
INotifyPropertyChange 272
INotifyDisposing 272
Summary 280
Chapter 8: Developing Client Controls 281
Control 281
Definition 281
get_element 283
get_id 283
set_id 284
set_parent 284
get_parent 285
get_visibilityMode 286
get_visible 286
set_visibilityMode 286
set_visible 287
addCssCIass 288
removeCssCIass 288
toggleCssCIass 288
dispose 288
onBubbleEvent 289
raiseBubbleEvent 290
Developing Custom Client Controls 290
Label Client Control 291
Constructor 291
htmlEncode 291
text 292
prototype 294
descriptor 294
Using Label Client Control 295
Image Client Control 297
Constructor 298
prototype 298
imageURI 299
width 299
height 299
alternateText 300
Using the Image Client Control 300
Extending Image Client Control 302
Constructor 306
prototype 307
imageURL 3Q7
mouseOverlmageURL 308
mouseOverCallback 30g
mouseOutCallback 3og
Duration
309
transition
Transition Enumeration 3 _
initialize
311
dispose
Using Image2 Client Control ^IZ
Hyperünk Client Control fJT
Constructor
prototype 314
navigateURL 315
q i c
initialize ö±o
adcLclick 315
remove_click
_onClick 317
dispose 317
descriptor 318
Using the HyperLink Client Control fJ?
Summary 319
321
CommandEventArgs
Button Client Control 323
Constructor 325
prototype 325
argument 325
command 326
initialize 326
add_click 327
_onClick 328
dispose 328
descriptor 329
Using Button Client Control 330
Catching a Bubbled Event 330
Bubbling an Event 330
Summary 337
348
Contents
Chapter 10: Type Description Extensions 349
TypeDescriptor 350
Constructor 350
getTypeDescriptor 369
getProperty 374
getAttribute 376
setProperty 377
invokeMethod 382
getPropertyType 384
Using the ASP.NET AJAX Type Description Capabilities 385
StringBuilder 385
CustomTable 389
Dynamic Injection of Metadata Information 399
addProperty 400
addMethod 401
addEvent 402
addAttribute 403
ICustomTypeDescriptor 403
Summary 405
Chapter 11: Data Classes 402
IData 407
DataColumn 409
DataRow 412
Constructor 412
descriptor 413
ICustomTypeDescriptor 414
Owner 419
INotifyPropertyChange 420
DataTable 422
Constructor 422
IData 424
Descriptor 432
INotifyPropertyChange 434
INotifyCollectionChanged 436
createRow 439
getChanges 441
getColumn 442
raiseRowChanged 443
parseFromJson 443
Using DataColumn, DataRow, and DataTable 446
Summary 456
Chapter 12: Client Server Communications 457
WebRequest 457
Constructor 457
Target URL 458
HTTP Verb 458
Body 459
Timeout 459
Web Request Executor 460
Headers 460
Completed Event 461
Invoking a Web Request 462
WebRequestExecutor 463
Constructor 463
WebRequest 463
get_started 464
get_responseAvailable 464
getJimedOut 465
get_aborted 465
get_responseData 465
get_statusCode 466
get_statusText 466
get_xml 466
get_object 466
executeRequest 467
abort 467
getResponseHeader 467
getAIIResponseHeaders 468
WebRequestManager 468
Constructor 468
Default Timeout 469
Default Executor Type 469
Events 470
Executing a Web Request 471
NetworkRequestEventArgs 473
XMLHttpRequest 474
XMLDOM 474
XMLHttpExecutor 475
Constructor 475
getJimedOut A7Q
Contents
get_started 479
get_responseAvailable 479
get_aborted 479
Executing the Request 480
getResponseHeader 482
getAIIResponseHeaders 483
get_responseData 484
get_statusCode 484
get_statusText 484
get_xml 485
abort 486
Using WebRequest, WebRequestManager, and XMLHttpExecutor 487
Summary 510
Bullding the Web Service 511
WSDL Documents 512
Argument Names, Types, and Order 514
Return Value Types and Order 515
Describing the Method 515
Describing the Communication Protocol for Accessing the Method 516
Specifying the Site for Method Access 517
Specifying the Method Class 518
SOAP Messages 518
Summary 533
Chapter 14: Consuming Web Services Via JSON Messages 535
WebServiceProxy 535
Timeout 535
Default Succeeded Callback 536
Default Failed Callback 536
Path 537
Invoking a Web Method 537
Using WebServiceProxy 549
WebServiceError 553
Using WebServiceError 557
Calling Page Methods 561
Calling Custom Methods 564
Under the Hood 570
ScriptHandlerFactory 571
RestHandlerFactorv
RestHandler 577
HandlerWrapper 582
Page Methods Demystified 583
Web Services Bridges Demystified 590
Using the Replicas 593
Summary 595
Chapter 15; Proxy Classes 597
What s a Proxy, Anyway? 597
Proxy Class 599
Proxy Classes Associated with Web Services 600
Proxy Classes Associated with Page Methods 605
Proxy Classes Associated with Custom Classes 608
Automatic Proxy Class Generation 608
Declarative Approach 608
Imperative Approach 618
Parent/Child Pages 621
Under the Hood 623
ScriptManager 624
ServiceReference 627
ClientProxyGenerator 630
RestClientProxyHandler 648
Using the Replicas 650
Summary 658
Chapterl6: Behaviors ___65S
What is a Behavior, Anyway? 659
The Behavior Class 661
Properties 668
Instance Methods 672
Static Methods 674
ClickBehavior 675
descriptor 676
The dick Event 677
initialize 677
Using the ClickBehavior 678
The ASP.NET AJAX Control Toolkit 680
BehaviorBase 681
The TextBoxWatermarkBehavior 687
Summary 706
Contents
Chapter 17: Script and Extender Server Controls ZQZ
Why You Need Script and Extender Server Controls 707
Extender Server Controls 709
lExtenderControl 709
ExtenderControl 710
Script Server Controls 713
IScriptControl 713
ScriptControl 714
ScriptDescriptor 716
ScriptComponentDescriptor 717
ScriptControlDescriptor 730
ScriptBehaviorDescriptor 731
ScriptReference 733
ScriptReferenceCollection 735
ScriptManager 735
Scripts 741
LoadScriptsBeforeUl 741
ScriptControls 741
RegisterScriptControl 741
ExtenderControls 742
RegisterExtenderControl 742
GetCurrent 742
Onlnit 742
Page_PreRenderComplete 743
CollectScripts 744
AddScriptReferencesForScriptControls 745
RegisterScriptDescriptors For Extender Controls 746
ResolveScriptReference Event 747
Puttlng it All Together 750
Developing a Custom Extender Server Control 751
WatermarkText 755
WatermarkCssCIass 755
ClientState 755
ClientStateFieldID 756
CreateClientStateField 756
BehaviorlD 756
GetScriptReferences 756
GetScriptDescriptors 756
Onlnit 758
Page_PreLoad 759
OnLoad 759
OnPreRender
Render 761
Using the Extender Server Control 763
Developing a Script Control 763
PreRender 764
Render 768
Using the Script Server Control 769
SularyrVerC0 tr 8Ver8 SEXtenderSerVe C »rtrote 770
771
Amazon Web Services
ItemSearch 773
tÄÄ Brldg*Enabl6d SCT * — * * »
AmazonSearchScriptControl 781
HtmIGenerator 789
HtmlGeneratorScriptControl 798
Using the Components 803
Transformers 811
Using Transformers 813
XmlBridgeTransformer 823
XsltBridgeTransformer 823
Summary 848
855
Children as Triggers 860
ICCT1* ^^ «**• * IS
Imperative Update 877
¦tasÄrr«Enabied custom ° ^* ~ cortro„ ^
BaseMasterDetailControl2 882
Summary 906
910
Contents
Chapter 20: Using UpdatePanel in User Controls and Custom Controls 911
MasterDetailControl 911
CreateBaseDataBoundControlMaster 913
RegisterMasterEventHandlers 914
Properties 916
Using MasterDetailControl in a Web Page 916
MasterDetailControl2 921
CreateBaseDataBoundControlMaster 923
RegisterMasterEventHandlers 923
Master_SelectedlndexChanged 923
Master_DataBound 923
Properties 924
Using MasterDetailControl 924
MasterDetailControl3 927
Using MasterDetailControl3 928
MasterDetailControl 930
Developing Partial Rendering Enabled Data Control Fields 931
Extending BoundField 932
Overriding InitializeDataCell 937
Handling the DataBound Event 938
Extracting Values from Cells 939
Appearance Properties 939
Using MasterDetailField 940
Developing Partial Rendering Enabled User Controls 945
Displaying all Messages 957
Displaying the Details of a Message 958
Deleting a Message 959
Updating a Message 960
Replying to a Message 961
Starting a New Thread 963
Summary 964
Chapter 21: Page Life Cycle and Asvnchronous Partial Page Rendering 9ß5
Processing a Request 966
The Page Life Cycle 969
The First Visit to a Partial Page Rendering Enabled Web Page 971
InitRecursIve 971
The Onlnit Method of ScriptManager 972
The Onlnit Method of UpdatePanel 980
Templated Controls 987
995
LoadRecursive
The Initialize Method of the UpdatePanel 8
Rendering ^19
The Render Method of ScriptManager 1020
The Render Method of the UpdatePanel 1028
Summary 1029
ghjjpter 22: ASP.NET AJAX Client Side PageRequestManager __1Q33
Instantiating and Initializing the Client Side PageRequestManager 1034
The getlnstance Method of the Client Side PageRequestManager 1°36
The Constructor of the Client Side PageRequestManager Class 1037
The jnitializelnternal Method of the Client Side PageRequestManager 1°40
_updateControls 1°46
The pageLoadedlnitialLoad Method of the Client Side PageRequestManager 1050
The _pageLoaded Method of the Client Side PageRequestManager 1°50
The pageLoaded Event 1°52
Using the pageLoaded Event 1055
Making an Asynchronous Page Postback 1071
Helper Methods 1071
_doPostBack 1077
_onFormSubmit 1081
The initializeRequest Event 109°
Using the initializeRequest Event 1092
The beginRequest Event 1099
Using the beginRequest Event l101
Summary 1104
Chapter 23: Asynchronous Partial Page Rendering: „ A_
Server Side Processing HQ5
RetrievePostData 1105
LoadScrollPosition 1109
InitRecursive Uli
The IsAsyncPostBackRequest Method of the PageRequestManager 11:L1
The Onlnit Method of PageRequestManager l112
Load Post Data 1113
UpdatePanel 1117
ScriptManager 1117
The LoadPostData Method of PageRequestManager H18
The Raise Post Data Changed Event H20
Contents
PreRender 1121
The OnPreRender Method of PageRequestManager 1121
Rendering 1122
The Encode Method of PageRequestManager 1123
The RenderPageCallback Method of PageRequestManager 1124
Server Response 1162
Summary 1178
Chapter 24: Asynchronous Partial Page Rendering:
Arrival of the Server Response Text 1179
The _updatePanel Method of PageRequestManager 1207
The registerDisposeScript Method of PageRequestManager 1209
_destroyTree 1209
_ScriptLoader 1210
readLoadedScripts 1210
getlnstance 1211
queueScriptBlock 1212
queueCustomScriptTag 1212
isScriptLoaded 1212
_getLoadedScript 1213
queueScriptReference 1213
loadScripts 1213
JoadScriptsInternal 1215
_createScriptElement 1217
The Constructor of the _ScriptLoader Class 1218
_scriptLoaderHandler 1218
ScriptLoaderTask 1219
The Constructor of the_ScriptLoaderTask Class 1219
execute 1220
_scriptLoadHandler 1221
_scriptsLoadComplete 1221
_pageLoaded 1223
endPostBack 1224
pageLoading 1231
Using the pageLoading Event 1242
pageLoaded 1253
endRequest 1255
Using the endRequest Event 1257
Summary 1273
Appendix A: XML Script 1215
Appendix B: Binding 1325
AppendixC: Actions 1341
Appendix P: Data Control 1351
Appendix E: Templated Controls 1381
Appendix F: ListView 14__
Index 1481
|
adam_txt |
ASP.NET AJAX Programmers Reference
with ASP.NET 2.0 or ASP.NET 3.5
Acknowledgments xi
Introduction xxix
Chapter 1: AJAX Technologies 1
Chapter 2: JavaScript Base Type Extensions 27
Chapter 3: Built In and Custom Exceptlon Types 53
Chapter 4: JavaScript Object Oriented Programming and
Type Reflection Extensions 77
Chapter 5: Event Programming Extensions 131
Chapter 6: DOM Extensions 161
Chapter 7: Component Development Infrastructure 219
Chapter 8: Developing Client Controls 281
Chapter 9: Event Bubbling and Button Client Control 323
Chapter 10: Type Description Extensions 349
Chapter 11: Data Classes 407
Chapter 12: Client Server Communications 457
Chapter 13: Consumlng Web Services Via Soap Messages 511
Chapter 14: Consuming Web Services Via JSON Messages 535
Chapter 15: Proxy Ciasses 597
Chapter 16: Behaviors 659
Chapter 17: Script and Extender Server Controls 707
Chapter 18: Web Services Bridges and Transformers 773
Chapter 19: UpdatePanel and ScriptManager 857
Chapter 20: Uslng UpdatePanel in User Controls and Custom Controls . 911
Chapter 21: Page Life Cycle and Asynchronous Partial Page Rendering. 965
Chapter 22: ASP.NET AJAX Cllent Slde PageRequestManager 1033
Chapter 23: Asynchronous Partial Page Rendering:
Server Side Processing 1105
Chapter 24: Asynchronous Partial Page Rendering:
Client Side Processing 1179
Appendix A: XML Script 1275
Appendix B: Binding 1325
Appendix C: Actions 1341
Appendix D: Data Control 1357
Appendix E: Templated Controls 1381
Appendix F: ListView 1409
Index 1481
Contents
Acknowledgments
Introduction Xl
xxix
Google Suggest
XMLHttpRequest 1
XML 4
JSON 16
object 20
array 20
string 20
number 20
null, true, and false 21
ASP.NET AJAX 21
Summa"? "" ***** **** Extensions and ***** Futures 25
25
ASP.NET AJAX Array Type Extensions
add 2°
addRange 28
clear 29
clone 29
contains 30
enqueue and dequeue 30
forEach 31
indexOf 33
insert 34
parse 35
remove 36
removeAt 36
ASP.NET AJAX Boolean Type Extensions 11
ASP.NET AJAX Date Type Extensions 11
ASP.NET AJAX Object Type Extensions ff
OB
ASP.NET AJAX String Type Extensions 39
endsWith 39
startsWith 40
trim 40
Formatting 41
ASP.NET AJAX Error Type Extensions 41
create 41
popStackFrame 45
Under the Hood of popStackFrame 4^
Summary **2
Chapter 3: Built In and Custom Exception Types 53
ASP.NET AJAX Built In Exception Types 53
ArgumentException 53
ArgumentNullException 56
ArgumentOutOfRangeException ^8
ArgumentTypeException ^0
ArgumentUndefinedException ^4
InvalidOperationException 66
NotlmplementedException 66
ParameterCountException 68
Implementing Custom Exception Types 7®
Recipe for Implementing Custom Exception Types 70
Using the Recipe 71
Summary 76
Chapter 4: JavaScript Object Oriented Programming
and Type Reflection Extensions ZI
JavaScript Functions 78
JavaScript Classes 79
Type 80
registerClass 81
getName 83
isCIass 84
registerNamespace 85
isNamespace 88
registerlnterface 89
getinterfaces 92
islnterface 95
Inheritance 96
Contents
getBaseType 100
initializeBase 102
resolvelnheritance 103
callBaseMethod 104
getBaseMethod 110
implementslnterface 113
inheritsFrom 118
isImplementedBy 121
getRootNamespaces 123
parse 125
registerEnum 127
isEnum 129
isRags 129
Summary 130
Chapter 5: Event Programming Extensions 131
Event Programming 131
Sys.EventArgs 132
Sys.CancelEventArgs 132
EventHandlerList 133
Using Event Programming 138
Base Classes 138
Events 144
Summary 159
Chapter 6: DOM Extensions 331
DomElement 161
getElementByld 161
addCssCIass l66
containsCssCIass 167
removeCssCIass 167
toggleCssCIass l69
getLocation 171
setLocation 172
getBounds 175
MouseButton 176
Key 176
Delegates 177
Namespace 183
Mover 184
TextProvider x°*
ImageProvider ^
DomEvent J*jj
Constructor 186
Static Methods 189
1 Qft
Instance Methods
Using the DomEvent Class 203
Mover 209
TableProvider 216
Summary 217
Qhapter 7: CompoP?nt Pgyelopment Infrastructure 219
Interfaces 220
iDisposable 22°
INotifyDisposing z
iNotityPropertyChanged 228
Component 235
IContainer 238
Application 239
addComponent 240
removeComponent 2
getComponents 242
findComponent 242
Application Lifecycle 243
Component 248
Continuing the Application Journey 253
endCreateComponents 253
raiseLoad 256
Summary of the Application Lifecycle 257
Application Level Events 258
init 258
load 259
unload 260
Disposable Objects 260
Using the Application Object and Component Base Class 263
dispose 264
initialize 267
id 269
raisePropertyChanged 270
geCevents 271
Contents
INotifyPropertyChange 272
INotifyDisposing 272
Summary 280
Chapter 8: Developing Client Controls 281
Control 281
Definition 281
get_element 283
get_id 283
set_id 284
set_parent 284
get_parent 285
get_visibilityMode 286
get_visible 286
set_visibilityMode 286
set_visible 287
addCssCIass 288
removeCssCIass 288
toggleCssCIass 288
dispose 288
onBubbleEvent 289
raiseBubbleEvent 290
Developing Custom Client Controls 290
Label Client Control 291
Constructor 291
htmlEncode 291
text 292
prototype 294
descriptor 294
Using Label Client Control 295
Image Client Control 297
Constructor 298
prototype 298
imageURI 299
width 299
height 299
alternateText 300
Using the Image Client Control 300
Extending Image Client Control 302
Constructor 306
prototype 307
imageURL 3Q7
mouseOverlmageURL 308
mouseOverCallback 30g
mouseOutCallback 3og
Duration
309
transition
Transition Enumeration 3 _
initialize
311
dispose
Using Image2 Client Control ^IZ
Hyperünk Client Control fJT
Constructor
prototype 314
navigateURL 315
q i c
initialize ö±o
adcLclick 315
remove_click
_onClick 317
dispose 317
descriptor 318
Using the HyperLink Client Control fJ?
Summary 319
321
CommandEventArgs
Button Client Control 323
Constructor 325
prototype 325
argument 325
command 326
initialize 326
add_click 327
_onClick 328
dispose 328
descriptor 329
Using Button Client Control 330
Catching a Bubbled Event 330
Bubbling an Event 330
Summary 337
348
Contents
Chapter 10: Type Description Extensions 349
TypeDescriptor 350
Constructor 350
getTypeDescriptor 369
getProperty 374
getAttribute 376
setProperty 377
invokeMethod 382
getPropertyType 384
Using the ASP.NET AJAX Type Description Capabilities 385
StringBuilder 385
CustomTable 389
Dynamic Injection of Metadata Information 399
addProperty 400
addMethod 401
addEvent 402
addAttribute 403
ICustomTypeDescriptor 403
Summary 405
Chapter 11: Data Classes 402
IData 407
DataColumn 409
DataRow 412
Constructor 412
descriptor 413
ICustomTypeDescriptor 414
Owner 419
INotifyPropertyChange 420
DataTable 422
Constructor 422
IData 424
Descriptor 432
INotifyPropertyChange 434
INotifyCollectionChanged 436
createRow 439
getChanges 441
getColumn 442
raiseRowChanged 443
parseFromJson 443
Using DataColumn, DataRow, and DataTable 446
Summary 456
Chapter 12: Client Server Communications 457
WebRequest 457
Constructor 457
Target URL 458
HTTP Verb 458
Body 459
Timeout 459
Web Request Executor 460
Headers 460
Completed Event 461
Invoking a Web Request 462
WebRequestExecutor 463
Constructor 463
WebRequest 463
get_started 464
get_responseAvailable 464
getJimedOut 465
get_aborted 465
get_responseData 465
get_statusCode 466
get_statusText 466
get_xml 466
get_object 466
executeRequest 467
abort 467
getResponseHeader 467
getAIIResponseHeaders 468
WebRequestManager 468
Constructor 468
Default Timeout 469
Default Executor Type 469
Events 470
Executing a Web Request 471
NetworkRequestEventArgs 473
XMLHttpRequest 474
XMLDOM 474
XMLHttpExecutor 475
Constructor 475
getJimedOut A7Q
Contents
get_started 479
get_responseAvailable 479
get_aborted 479
Executing the Request 480
getResponseHeader 482
getAIIResponseHeaders 483
get_responseData 484
get_statusCode 484
get_statusText 484
get_xml 485
abort 486
Using WebRequest, WebRequestManager, and XMLHttpExecutor 487
Summary 510
Bullding the Web Service 511
WSDL Documents 512
Argument Names, Types, and Order 514
Return Value Types and Order 515
Describing the Method 515
Describing the Communication Protocol for Accessing the Method 516
Specifying the Site for Method Access 517
Specifying the Method Class 518
SOAP Messages 518
Summary 533
Chapter 14: Consuming Web Services Via JSON Messages 535
WebServiceProxy 535
Timeout 535
Default Succeeded Callback 536
Default Failed Callback 536
Path 537
Invoking a Web Method 537
Using WebServiceProxy 549
WebServiceError 553
Using WebServiceError 557
Calling Page Methods 561
Calling Custom Methods 564
Under the Hood 570
ScriptHandlerFactory 571
RestHandlerFactorv
RestHandler 577
HandlerWrapper 582
Page Methods Demystified 583
Web Services Bridges Demystified 590
Using the Replicas 593
Summary 595
Chapter 15; Proxy Classes 597
What's a Proxy, Anyway? 597
Proxy Class 599
Proxy Classes Associated with Web Services 600
Proxy Classes Associated with Page Methods 605
Proxy Classes Associated with Custom Classes 608
Automatic Proxy Class Generation 608
Declarative Approach 608
Imperative Approach 618
Parent/Child Pages 621
Under the Hood 623
ScriptManager 624
ServiceReference 627
ClientProxyGenerator 630
RestClientProxyHandler 648
Using the Replicas 650
Summary 658
Chapterl6: Behaviors _65S
What is a Behavior, Anyway? 659
The Behavior Class 661
Properties 668
Instance Methods 672
Static Methods 674
ClickBehavior 675
descriptor 676
The dick Event 677
initialize 677
Using the ClickBehavior 678
The ASP.NET AJAX Control Toolkit 680
BehaviorBase 681
The TextBoxWatermarkBehavior 687
Summary 706
Contents
Chapter 17: Script and Extender Server Controls ZQZ
Why You Need Script and Extender Server Controls 707
Extender Server Controls 709
lExtenderControl 709
ExtenderControl 710
Script Server Controls 713
IScriptControl 713
ScriptControl 714
ScriptDescriptor 716
ScriptComponentDescriptor 717
ScriptControlDescriptor 730
ScriptBehaviorDescriptor 731
ScriptReference 733
ScriptReferenceCollection 735
ScriptManager 735
Scripts 741
LoadScriptsBeforeUl 741
ScriptControls 741
RegisterScriptControl 741
ExtenderControls 742
RegisterExtenderControl 742
GetCurrent 742
Onlnit 742
Page_PreRenderComplete 743
CollectScripts 744
AddScriptReferencesForScriptControls 745
RegisterScriptDescriptors For Extender Controls 746
ResolveScriptReference Event 747
Puttlng it All Together 750
Developing a Custom Extender Server Control 751
WatermarkText 755
WatermarkCssCIass 755
ClientState 755
ClientStateFieldID 756
CreateClientStateField 756
BehaviorlD 756
GetScriptReferences 756
GetScriptDescriptors 756
Onlnit 758
Page_PreLoad 759
OnLoad 759
OnPreRender
Render 761
Using the Extender Server Control 763
Developing a Script Control 763
PreRender 764
Render 768
Using the Script Server Control 769
SularyrVerC0"tr "8Ver8"SEXtenderSerVe'C »rtrote 770
771
Amazon Web Services
ItemSearch 773
"tÄÄ Brldg*Enabl6d SCT"* —'* * »
AmazonSearchScriptControl 781
HtmIGenerator 789
HtmlGeneratorScriptControl 798
Using the Components 803
Transformers 811
Using Transformers 813
XmlBridgeTransformer 823
XsltBridgeTransformer 823
Summary 848
855
Children as Triggers 860
ICCT1*"^^ «**• * IS
Imperative Update 877
¦tasÄrr«Enabied custom ° ^* ~ cortro„ ^
BaseMasterDetailControl2 882
Summary 906
910
Contents
Chapter 20: Using UpdatePanel in User Controls and Custom Controls 911
MasterDetailControl 911
CreateBaseDataBoundControlMaster 913
RegisterMasterEventHandlers 914
Properties 916
Using MasterDetailControl in a Web Page 916
MasterDetailControl2 921
CreateBaseDataBoundControlMaster 923
RegisterMasterEventHandlers 923
Master_SelectedlndexChanged 923
Master_DataBound 923
Properties 924
Using MasterDetailControl 924
MasterDetailControl3 927
Using MasterDetailControl3 928
MasterDetailControl 930
Developing Partial Rendering Enabled Data Control Fields 931
Extending BoundField 932
Overriding InitializeDataCell 937
Handling the DataBound Event 938
Extracting Values from Cells 939
Appearance Properties 939
Using MasterDetailField 940
Developing Partial Rendering Enabled User Controls 945
Displaying all Messages 957
Displaying the Details of a Message 958
Deleting a Message 959
Updating a Message 960
Replying to a Message 961
Starting a New Thread 963
Summary 964
Chapter 21: Page Life Cycle and Asvnchronous Partial Page Rendering 9ß5
Processing a Request 966
The Page Life Cycle 969
The First Visit to a Partial Page Rendering Enabled Web Page 971
InitRecursIve 971
The Onlnit Method of ScriptManager 972
The Onlnit Method of UpdatePanel 980
Templated Controls 987
995
LoadRecursive
The Initialize Method of the UpdatePanel "8
Rendering ^19
The Render Method of ScriptManager 1020
The Render Method of the UpdatePanel 1028
Summary 1029
ghjjpter 22: ASP.NET AJAX Client Side PageRequestManager _1Q33
Instantiating and Initializing the Client Side PageRequestManager 1034
The getlnstance Method of the Client Side PageRequestManager 1°36
The Constructor of the Client Side PageRequestManager Class 1037
The jnitializelnternal Method of the Client Side PageRequestManager 1°40
_updateControls 1°46
The pageLoadedlnitialLoad Method of the Client Side PageRequestManager 1050
The _pageLoaded Method of the Client Side PageRequestManager 1°50
The pageLoaded Event 1°52
Using the pageLoaded Event 1055
Making an Asynchronous Page Postback 1071
Helper Methods 1071
_doPostBack 1077
_onFormSubmit 1081
The initializeRequest Event 109°
Using the initializeRequest Event 1092
The beginRequest Event 1099
Using the beginRequest Event l101
Summary 1104
Chapter 23: Asynchronous Partial Page Rendering: „ A_
Server Side Processing HQ5
RetrievePostData 1105
LoadScrollPosition 1109
InitRecursive Uli
The IsAsyncPostBackRequest Method of the PageRequestManager 11:L1
The Onlnit Method of PageRequestManager l112
Load Post Data 1113
UpdatePanel 1117
ScriptManager 1117
The LoadPostData Method of PageRequestManager H18
The Raise Post Data Changed Event H20
Contents
PreRender 1121
The OnPreRender Method of PageRequestManager 1121
Rendering 1122
The Encode Method of PageRequestManager 1123
The RenderPageCallback Method of PageRequestManager 1124
Server Response 1162
Summary 1178
Chapter 24: Asynchronous Partial Page Rendering:
Arrival of the Server Response Text 1179
The _updatePanel Method of PageRequestManager 1207
The registerDisposeScript Method of PageRequestManager 1209
_destroyTree 1209
_ScriptLoader 1210
readLoadedScripts 1210
getlnstance 1211
queueScriptBlock 1212
queueCustomScriptTag 1212
isScriptLoaded 1212
_getLoadedScript 1213
queueScriptReference 1213
loadScripts 1213
JoadScriptsInternal 1215
_createScriptElement 1217
The Constructor of the _ScriptLoader Class 1218
_scriptLoaderHandler 1218
ScriptLoaderTask 1219
The Constructor of the_ScriptLoaderTask Class 1219
execute 1220
_scriptLoadHandler 1221
_scriptsLoadComplete 1221
_pageLoaded 1223
endPostBack 1224
pageLoading 1231
Using the pageLoading Event 1242
pageLoaded 1253
endRequest 1255
Using the endRequest Event 1257
Summary 1273
Appendix A: XML Script 1215
Appendix B: Binding 1325
AppendixC: Actions 1341
Appendix P: Data Control 1351
Appendix E: Templated Controls 1381
Appendix F: ListView 14_
Index 1481 |
any_adam_object | 1 |
any_adam_object_boolean | 1 |
author | Khosravi, Shahram 1963- |
author_GND | (DE-588)142873454 |
author_facet | Khosravi, Shahram 1963- |
author_role | aut |
author_sort | Khosravi, Shahram 1963- |
author_variant | s k sk |
building | Verbundindex |
bvnumber | BV022931305 |
callnumber-first | T - Technology |
callnumber-label | TK5105 |
callnumber-raw | TK5105.8885.A26 |
callnumber-search | TK5105.8885.A26 |
callnumber-sort | TK 45105.8885 A26 |
callnumber-subject | TK - Electrical and Nuclear Engineering |
classification_rvk | ST 253 |
ctrlnum | (OCoLC)315780599 (DE-599)BVBBV022931305 |
dewey-full | 005.2/76 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.2/76 |
dewey-search | 005.2/76 |
dewey-sort | 15.2 276 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
discipline_str_mv | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01784nam a2200469zc 4500</leader><controlfield tag="001">BV022931305</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20071121 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">071022s2007 xxua||| |||| 00||| eng d</controlfield><datafield tag="010" ind1=" " ind2=" "><subfield code="a">2007024239</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780470109984</subfield><subfield code="9">978-0-470-10998-4</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)315780599</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV022931305</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">aacr</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="044" ind1=" " ind2=" "><subfield code="a">xxu</subfield><subfield code="c">US</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-20</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">TK5105.8885.A26</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.2/76</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 253</subfield><subfield code="0">(DE-625)143628:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Khosravi, Shahram</subfield><subfield code="d">1963-</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)142873454</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5</subfield><subfield code="c">Shahram Khosravi</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Indianapolis, IN</subfield><subfield code="b">Wiley</subfield><subfield code="c">2007</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXXVI, 1522 S.</subfield><subfield code="b">Ill.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">Wrox programmer to programmer</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">Wrox programmer's reference</subfield></datafield><datafield tag="630" ind1="0" ind2="4"><subfield code="a">Active server pages</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Internet programming</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Web site development</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Ajax (Web site development technology)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Microsoft .NET</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">ASP.NET 2.0</subfield><subfield code="0">(DE-588)4831603-9</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">ASP.NET 2.0</subfield><subfield code="0">(DE-588)4831603-9</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2=" "><subfield code="u">http://www.loc.gov/catdir/toc/ecip0720/2007024239.html</subfield><subfield code="3">Table of contents only</subfield></datafield><datafield tag="856" ind1="4" ind2=" "><subfield code="u">http://www.loc.gov/catdir/enhancements/fy0741/2007024239-d.html</subfield><subfield code="3">Publisher description</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016136119&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-016136119</subfield></datafield></record></collection> |
id | DE-604.BV022931305 |
illustrated | Illustrated |
index_date | 2024-07-02T18:54:33Z |
indexdate | 2024-07-09T21:07:55Z |
institution | BVB |
isbn | 9780470109984 |
language | English |
lccn | 2007024239 |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-016136119 |
oclc_num | 315780599 |
open_access_boolean | |
owner | DE-20 |
owner_facet | DE-20 |
physical | XXXVI, 1522 S. Ill. |
publishDate | 2007 |
publishDateSearch | 2007 |
publishDateSort | 2007 |
publisher | Wiley |
record_format | marc |
series2 | Wrox programmer to programmer Wrox programmer's reference |
spelling | Khosravi, Shahram 1963- Verfasser (DE-588)142873454 aut ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 Shahram Khosravi Indianapolis, IN Wiley 2007 XXXVI, 1522 S. Ill. txt rdacontent n rdamedia nc rdacarrier Wrox programmer to programmer Wrox programmer's reference Active server pages Internet programming Web site development Ajax (Web site development technology) Microsoft .NET ASP.NET 2.0 (DE-588)4831603-9 gnd rswk-swf ASP.NET 2.0 (DE-588)4831603-9 s DE-604 http://www.loc.gov/catdir/toc/ecip0720/2007024239.html Table of contents only http://www.loc.gov/catdir/enhancements/fy0741/2007024239-d.html Publisher description HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016136119&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Khosravi, Shahram 1963- ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 Active server pages Internet programming Web site development Ajax (Web site development technology) Microsoft .NET ASP.NET 2.0 (DE-588)4831603-9 gnd |
subject_GND | (DE-588)4831603-9 |
title | ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 |
title_auth | ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 |
title_exact_search | ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 |
title_exact_search_txtP | ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 |
title_full | ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 Shahram Khosravi |
title_fullStr | ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 Shahram Khosravi |
title_full_unstemmed | ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 Shahram Khosravi |
title_short | ASP.NET Ajax programmer's reference with ASP.NET 2.0 or ASP.NET 3.5 |
title_sort | asp net ajax programmer s reference with asp net 2 0 or asp net 3 5 |
topic | Active server pages Internet programming Web site development Ajax (Web site development technology) Microsoft .NET ASP.NET 2.0 (DE-588)4831603-9 gnd |
topic_facet | Active server pages Internet programming Web site development Ajax (Web site development technology) Microsoft .NET ASP.NET 2.0 |
url | http://www.loc.gov/catdir/toc/ecip0720/2007024239.html http://www.loc.gov/catdir/enhancements/fy0741/2007024239-d.html http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016136119&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT khosravishahram aspnetajaxprogrammersreferencewithaspnet20oraspnet35 |