Tài liệu parameters forgot my password, 508 code-behind file, 510-511 email link, 513 HTML code, 509 pdf

16 299 1
Tài liệu parameters forgot my password, 508 code-behind file, 510-511 email link, 513 HTML code, 509 pdf

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

forgot my password, 508 code-behind file, 510-511 email link, 513 HTML code, 509 password change email, 512-513 UserID parameter, 511 inheritance, 379 loading status displays, 86 main pages, 98-100 errors, 106-107 operation pages, 101-103 operation progress, 100-101 order list, 105 readystatechange events, 103-104 server-side code, 106 master, 162-163, 354 multiple sign-in, 528-530 operation executing, 101-103 staged page loading, 94-98 progress bars, 85-86 alternative page loading, 87-88 animated GIFs, 86 asynchronous page loading, 88 HTML declarations, 90-91 server control declarations, 90-91 viewing, 87 XMLHTTP object example, 89-90 references, 62-63 main page public properties, 64-65 Request collections, clearing, 67 target pages, 65-67 Transfer() method event handlers, 63 staged page loading browser compatibility, 107 errors, 106-107 implementing, 92-93 main page, 98-100 operation pages, 94-98, 101-103 operation progress, 100-101 order list, 105 order server-side code, 106 readystatechange events, 103-104 status codes, 94 target Execute() method, 70-71 Transfer() method, 65-67 templates, 355 Page_Init events, 379 Page_Load events, 24-25 Page_Load handlers ComboBox control, 183 client-side scripts, 183-186 code, 186-189 control instances, loading, 48 DataList control, populating, 141-142 forms, 54 MaskedEdit control, 225-227 MaskedEdit user control, 247-248 please wait pages, 84 postbacks, counting, 237-239 progress bars, 90 provider-independent data access example, 413 row sets, returning, 131-132 SpinBox control, 262-264 staged page loading, 94-96, 106 target pages, 66 parameters ?, 491 aspnet_regiis.exe utility, 490-491 c, 491 client-side functions, 186 How can we make this index more useful? Email us at indexes@samspublishing.com parameters 20 0672326744 INDEX 5/4/04 12:21 PM Page 589 e, 491 ea, 491 enable, 490 evidence, 440 i, 490 ir, 490 IXPathNavigable, 440 k, 491 kn, 491 lk, 491 logError, 457 logFile, 457 lv, 491 names, 392 optional, 394 r, 491 s, 490 sn, 490 SQL statements, 390-392 stored procedures, 392-393 u, 491 ua, 491 UserID, 511 XmlResolver, 440 ParamOrderProc.sql download, 393 parsing XML DataSet class, 436 strings, 437-438 XmlTextReader class, 434 passwords forgot my password page, 508 code-behind file, 510-511 email link, 513 HTML code, 509 password change email, 512-513 UserID parameter, 511 hashing, 506-508 performance comparing, 407-410 counters, 482 XSLT, 433 PerformanceCounterPermission permission, 556 permissions adding, 552-553 allowed, 556-557 deleting, 552 DirectoryServicesPermission, 556 DnsPermission, 556 EnvironmentPermission, 556 EventLogPermission, 556 FileDialogPermission, 556 FileIOPermission, 556 IsolatedStoragePermission, 556 medium trust level example, 557-559 MessageQueuePermission, 556 OLE DB, 554 OleDbPermission, 556 PerformanceCounterPermission, 556 PrintingPermission, 556 ReflectionPermission, 556 RegistryPermission, 556 SecurityPermission, 557 ServiceControllPermission, 557 sets, 550-553 SocketAccessPermission, 557 SQLClientPermission, 557 trust levels, 551-552 UserInterfacePermission, 557 WebPermission, 557 persistent authentication cookies, 514-516 PlaceHolder control, 40 parameters 20 0672326744 INDEX 5/4/04 12:21 PM Page 590 pools (application), 494-496 populating ComboBox control, 191-196 DataGrid control, 45, 143, 419-420 DataList controls, 141-142 DataSet instances, 115-120 positioning dynamic/absolute, 203 elements, 206-207 postbacks control errors, 415 counter values, 239-240 counting, 237-239 registering, 333-334 preconfigured trust levels, 546-547 PreRender event, 300 PreRender() method, 357 PrintingPermission permission, 556 Private members, 256 product key columns, 18-20 product name columns, 18-20 Profiler (SQL), 389 progress bars, 85-86 alternative page loading, 87-90 animated GIFs, 86 asynchronous page loading, 88 HTML declarations, 90-91 server control declarations, 90-91 viewing, 87 properties adaptive SpinBox server control, 339-340 attributes, 122 AutoPostback, 257, 317 cells, 122 ColumnMapping, 461 Columns, 317 ComboBox control, 193 control, 65 ControlCollection object, 39-40 controls, 122 CssClass ComboBox user control, 171 SpinBox server control, 317 DataGridItem object, 122 DataItem, 122 DataSetIndex, 122 DataSource ComboBox user control, 171 declaring, 114-115 DataTextField, 171 DataTextFormatString, 171 disabled, 232-233 dynamically creating, 42-43 EnableViewState, 122 exposing, 174-175 HasRows, 486 Increment, 317 IsDropDown, 179 IsDropDownCombo, 171 ItemIndex, 122 Items ComboBox user control, 171 property accessors, 180 ItemType, 122 list controls, 485 MaskedEdit server control, 308 MaximumValue SpinBox control, 262 SpinBox server control, 318 Minimum, 262 MinimumValue, 318 MissingSchemaAction, 401 How can we make this index more useful? Email us at indexes@samspublishing.com properties 20 0672326744 INDEX 5/4/04 12:21 PM Page 591 public, 64-65 RequireSSL, 487 Rows ComboBox user control, 171 property accessors, 179 SelectedIndex, 485 ComboBox user control, 171 property accessors, 181 SelectedItem, 485 ComboBox user control, 171 property accessors, 180-181 SelectedValue ASP.NET version 1.1, 485 ComboBox user control, 172 property accessors, 182-183 SlidingExpiration, 487 SpinBox server control, 317-321 SpinBox user control, 256-257 behavior/appearance, 257-258 Text/Value, 260-261 values, 259 Status, 94 status-related, 94 StatusCode, 94 StatusDescription, 94 style, 172 templates, defining, 366 Text implementing, 260-261 SpinBox server control, 318 user controls, 160 validation controls, 10 Value implementing, 260-261 SpinBox server control, 318 Width ComboBox user control, 172 property accessors, 178 property accessor routines ComboBox user control, 176-178 declaring in C#, 178 IsDropDown property, 179 Items property, 180 Rows property, 179 SelectedIndex property, 181 SelectedItem property, 180-181 SelectedValue property, 182-183 Width property, 178 read-only/write-only, 177 provider-independent data access codes, 410 dynamically instantiating classes, 410-411 sample page code, 411-415 Public members, 256 public properties, 64-65 Public variables, 174 Q-R QuickStart templates, 298 r parameter, 491 RaisePostBackDataChangedEvent routine, 332 RaisePostBackEvent() method, 357 RaisePostDataChangedEvent() method, 357 RAISERROR() method, 395 RangeValidator control, 9 read-only property accessors, 177 ReadXml() method, 450 ReadXmlSchema() method, 450 readystatechange events, 103-104 properties 20 0672326744 INDEX 5/4/04 12:21 PM Page 592 real page-loading status displays, 86 Redirect() method, 57, 61 redirection client-side, 61-62 files, 525 server-side, 61-62 references nested DataGrid controls, 146 pages, 62-63 main page public properties, 64-65 Request collections, clearing, 67 target pages, 65-67 Transfer() method event handlers, 63 ReflectionPermission permission, 556 regions (dynamic), 372-373 registering postbacks, 333-334 user controls, 159 RegisterStartupScript() method, 294 RegistryPermission permission, 556 regular expressions, 253-254 RegularExpressionValidator controls, 253-254, 503 relational data, converting to XML, 460 CDATA sections, 464-466 DataSet class, 461-464 relational tables, 462 Render() method controls, 357 structural table contents, rendering, 363 WebControl class, 304 RenderBeginTag() method, 303 RenderChildren() method, 304 RenderContents() method, 304 RenderControl() method, 363 RenderEndTag() method, 303 rendering child controls, 363 content, 367 structural table contents, 363 Request collections, 67 RequireSSL property, 487 results key code tests, 216-218 performance comparisons, 409 return keys, trapping, 215-218 returning row sets, 126-127 values browser-adaptive dialog windows, 292-294 modal dialog windows, 290 reusable content COM/COM+ components, 166 apartment-threaded, 168 tlbimp utility, 167-168 wrappers, creating, 166 master pages, 162-163 server controls, 163-164 disadvantages, 166 machinewide assembly installations, 164-165 server-side include files, 156-157 code, 156 disadvantages, 157-158 dynamic text, 157 support, 158 user controls, 158 contents, 160-161 disadvantages, 161-162 output caching, 161 registering, 159 XML validation classes, 456-460 role-based authorization, 526-528 How can we make this index more useful? Email us at indexes@samspublishing.com role-based authorization 20 0672326744 INDEX 5/4/04 12:21 PM Page 593 routines accessor, 175 accessor property. See property accessor routines AddTable, 96 CalculateTotal, 97 CreateCSS2Controls, 342 CreateHTMLTable, 342 DoTest, 407 ExecuteSproc, 397-398 ExecuteSQLStatement database updates, 149-150 UpdateCommand event, 28 FillDataSet, 116 GetDataReader, 414 InjectClientScript, 342 OnValueChanged, 329 RaisePostBackDataChangedEvent, 332 SetColumns, 261 SetMaxMinValues, 261, 321 ShowData, 413 ShowSchema, 403 ShowSelected, 193 WriteClientScript, 426 rows DataList controls, 145 editing, 145-149 multiple, 415 selecting, 143-144 sets, returning, 126-127 Rows property ComboBox user control, 171 property accessors, 179 runtime configurations, 492 multiple authentication modules, 542-543 multiple authorization modules, 545 versions, 490-492 S s parameter, 490 SaveViewState() method, 357 saving bandwidth, 111 control values, 323 schemas DataSet instances, 400-401 MissingSchemaAction.Add, 404-405 MissingSchemaAction.AddWithKey, 405-407 viewing, 403-407 XSD, 470 script mappings, 488-489 scrollable content, 36-37 scrollList function keypress events, 206 Page_Load handler, 184 searching namespace qualified nodes, 453-455 XML data, 442-445 sections (CDATA), 464-466 security authentication modules, 538-540 authorization modules, 543-545 credentials, 438 DataSet class, 487 trust levels, 546 allowed permissions, 556-557 customizing, 549-550, 553-555 folders, 558-559 full trusts, 548 routines 20 0672326744 INDEX 5/4/04 12:21 PM Page 594 medium trust level example, 557-559 paths, 559 preconfigured, 546-547 read only date, 558 selecting, 548-549 SecurityClass elements, 553 SecurityPermission permission, 557 SelectedIndex property, 485 ComboBox user control, 171 property accessors, 181 SelectedItem property, 485 ComboBox user control, 171 property accessors, 180-181 SelectedValue property ASP.NET version 1.1, 485 ComboBox user control, 172 property accessors, 182-183 selecting base classes, 302 rows, 143-145 targets, 200-201 trust levels, 548-549, 555 serialization (XML), 470-474 server controls, 163-164 advantages, 298 building, 299 classes base, selecting, 302 Control inheritance, 303 creating, 301-302 custom inheritance, 304 WebControl inheritance, 304 custom layout, 355-357 child controls, 363-365 content, creating, 358-360 controls, capturing, 362 creating, 360-365 MasterPageControl example, 360-362 output, 357 declarations, 90-91 disadvantages, 166 HTML controls, 301 life cycle, 300-301 machinewide assembly installation, 164-165 MaskedEdit, 305 AddAttributesToRender() method, 309-311 Class file, 305-307 compiling, 312-313 constructor, 308 CreateChildControls() method, 311-312 demonstration page, 315 deploying, 313-315 internal variables, 307 properties, 308 testing, 313-315 output, generating, 303 QuickStart templates, 298 SpinBox, 315 adaptive. See adaptive SpinBox server control Amaya, 336-337 child controls tree, 324-326 Class file, 316-317 client-side script, 326-327 constructor, 321-322 control changes values, 330 CreateChildControls() method, overriding, 322-323 event handlers, 326-327 internal variables, 318-321 IPostBackDataHandler interface, 330-333 Mozilla 1.5, 335 Netscape Navigator 4.5, 336 nonstandard browsers, 337-339 How can we make this index more useful? Email us at indexes@samspublishing.com server controls 20 0672326744 INDEX 5/4/04 12:21 PM Page 595 Opera 7.21, 335 postbacks, registering, 333-334 properties, 317-321 trace information, 327-328, 334 ValueChanged event, 328-330 template, 365 container controls, 367 content, 366-367 creating, 366-370 master page example listing, 368-370 templates, 366-367 Web Forms controls, 301 server-side include files, 156-157 code, 156 disadvantages, 157-158 dynamic text, 157 support, 158 server-side redirection, 61-62 server-side scripting SpinBox control, 261 maximum/minimum values, 262 Page_Load handler, 262-264 SetColumns/SetMaxMinValues routines, 261 text box width, 262 staged page loading main page, 106 server-side validation, 12 ServiceControllerPermission permission, 557 sessions cookieless, 17, 239 data, deleting, 31 SetColumns routines, 261 SetMaxMinValues routine, 261, 321 SetWindowResult() method, 293 sharing user controls, 250 shipping addresses, 395-396 Show Orders button, 105 ShowData routine, 413 showKeycode function, 215 ShowMembers() method, 172, 176 showModalDialog() method, 285-286 ShowOrders handler, 106 ShowSchema routine, 403 ShowSelected routine, 193 sign-in controls, 500 authentication cookie, 506 Click event handler, 505 initializing, 504 RegularExpressionValidator controls, 503 sample code, 502-503 user sign in, 500 validators, 506 sign-in pages, 528-530 signing in/out, 531-535 SignOut() method, 521 SlidingExpiration property, 487 sn parameter, 490 SocketAccessPermission permission, 557 sorting XML data, 446 DataView class, 450-452 namespace qualified nodes, 453-455 text-based sorts, 450 XPathExpression class, 446-450 XSD schema date types, 451 source data, 424-425 SpinBox control, 48 SpinBox server control, 315 adaptive, 334, 339 browser-specific output, 342-343 CreateChildControls() method, 340-342 internal variables, 339-340 LoadPostData() method, 343, 346 server controls 20 0672326744 INDEX 5/4/04 12:21 PM Page 596 properties, 339-340 testing, 346-348 Amaya, 336-337 Class file, 316-317 child controls tree, 324-326 client-side script, 326-327 constructor, 321-322 control changes values, 330 CreateChildControls() method, overriding, 322- 323 event handlers, 326-327 internal variables, 318-321 IPostBackDataHandler interface, 330-333 Mozilla 1.5, 335 postbacks, registering, 333-334 properties, 317-318, 320-321 trace information, 327-328, 334 ValueChanged event, 328-330 GAC installation, 348 assembly, installing, 350 Class file, 349 compiling, 349 testing, 351-352 Netscape Navigator 4.5, 336 nonstandard browsers, 337-339 Opera 7.21, 335 SpinBox user control, 254 client-side code, 264-266 interface, 255-256 Private/Public members, 256 properties, 256-257 behavior/appearance, 257-258 Text/Value, 260-261 values, 259 server-side scripting, 261 maximum/minimum values, 262 Page_Load handler, 262-264 SetColumns/SetMaxMinValues routines, 261 text box width, 262 SQL Profiler, 389 SQL Server State Service, 481 SqlClient classes, 393 SQLClientPermission permission, 557 staged process page loading browser compatibility, 107 errors, 106-107 implementing, 92-93 main page, 98-100 operation pages, 94-98 executing, 101-103 order values, calculating, 97 Page_Load handler, 94-96 tables, adding, 96-97 operation progress, 100-101 order list, 105 readystatechange events, 103-104 server-side code, 106 status codes, 94 statements (SQL) stored procedure default values, 393-395 event log, writing, 395 executing, 396-398 shipping addresses, 395-396 testing, 399 stored procedure parameters, ordering, 392-393 submitted values, 386 batch statements, 389 comment markers, 389 malicious input, 387-389 parameters, adding, 390-392 status codes, 94 Status property, 94 StatusCode property, 94 How can we make this index more useful? Email us at indexes@samspublishing.com StatusCode property 20 0672326744 INDEX 5/4/04 12:21 PM Page 597 StatusDescription property, 94 stored procedures data store updates, 30 default values, 393-395 event log, writing, 395 executing, 396-398 shipping addresses, 395-396 testing, 399 parameters, 392-394 storing DataSet objects, 16-17 IP addresses, 540 key code test results, 216-218 XML configuration settings, 466 StringReader class, 437 strings encrypted, 520 XML, 437-438 structural tables, 363 style properties, 172 stylesheets (XSLT), 439 submit events, 236-237 submitted values (SQL statements), 386 batch statements, 389 comment markers, 389 malicious input, 387-389 parameters, adding, 390-392 supplier columns, 18-20 System.Data namespaces, 486-487 System.Data.Odbc namespace, 486 System.DataOracleClient namespace, 486 System.Web.Mobile namespace, 488 System.Web.UI.MobileControls namespace, 488 T tab order, 215 TabIndex attribute, 215 tables adding to DataSet instances, 96-97 layout, 358 relational, 462 structural, 363 Tabular Data Control (TDC), 284 targets controls, 272-273 pages Execute() method, 70-71 Transfer() method, 65-67 selecting, 200-201 <td> tag, 33 TDC (Tabular Data Control), 284 templates, 355 controls, 365 content, rendering, 367 creating, 366-370 master page example listing, 368-370 templates, 366-367 creating, 367 custom page classes, 373 content, 373, 380 creating, 374-377 default content, replacing, 375 internal controls collection, 374 master pages, 378-380 MasterPage example, 375-377 page inheritance, 379 default content, 371 page content dynamic regions, 372-373 QuickStart, 298 StatusDescription property 20 0672326744 INDEX 5/4/04 12:21 PM Page 598 [...]... control, 38-41 demonstration page, 189 adaptive SpinBox server control, 343 design, 169 adding controls, 40-41 How can we make this index more useful? Email us at indexes@samspublishing.com user controls details, viewing, 192-193 UserControl class, 46 HTML, 170-171, 175-176 UserID parameter, 511 interface, 171-173 UserInterfacePermission permission, 557 members, viewing, 192 users outline, 173-174 input... applications style properties, 172 aspnet_regiis.exe user interface, 175 client-side script folder, installing, 492 constituent controls, exposing, 247 NET Framework versions, listing, 491 content, 160-161, 246 parameters, 490-491 disadvantages, 161-162 runtime, 490-492 dynamically loading, 46-49 Web sites, listing, 492 events, 300 aspnet_regiss.exe, 490 MaskedEdit control conversion, 245 Dotnetfx.exe, 489 client-side... caching, 161 V properties, 160 Validate() method, 457-459 registering, 159 validating sharing, 250 automatic input, 483-484 SpinBox, 254 input, 259 behavior/appearance properties, 257-258 client-side code, 264-266 interface, 255-256 user input, 504 XML data, 460 validation controls Private/Public members, 256 adding, 251-253 properties, 256-257 Calendar control, 13-14 property values, 259 check boxes,... DataGrid control See DataGrid control submitted (SQL), 386 drop-down lists, 8 batch statements, 389 empty values, 252 comment markers, 389 option button lists, 9-10 malicious input, 387-389 properties, 10 parameters, adding, 390-392 regular expressions, creating, 253-254 server-side, 12 variables internal ValidationCallBack() method, 457-459 adaptive SpinBox server control, 339-340 validationKey attribute,... executing, 396-398 automatic input validation, 483-484 shipping addresses, 395-396 forms authentication, 487 testing, 399 list control properties, 485 listing, 491 How can we make this index more useful? Email us at indexes@samspublishing.com versions MMIT mobile controls, 488 Web Forms controls, 301 System.Data namespaces, 486-487 Web service extensions, 493 runtime, 490-492 viewing Web sites ComboBox... progress bars, 85-87 ParamOrderProc.sql download, 393 alternative page loading, 87-88 animated GIFs, 86 QuickStart templates, 298 web.config files asynchronous page loading, 88 Authentication element, 541 HTML declarations, 90-91 hashed credentials, 507 server control declarations, 90-91 master page files, setting, 379 XMLHTTP object example, 89-90 WebControl class, 301, 304 schemas, 403-407 WebPermission... dialogs, 267-269 DOM, 431-432 AttachDialog() method, 270-272 forward-only, 431 clientdialog.ascx user control, 269 serialization, 432-433 DialogType enumeration, 270 GetDialogResult() method, 274 JavaScript code, 273-274 target controls, 272-273 Internet Explorer, 283-285 modal, 285 configuration settings, 466-467 accessing, 467-470 serialization, 470-474 customizing, 461-464 data nesting, 463 AttachDialog()... namespace nodes, searching, 455 XMLHTTP objects APIs advantages/disadvantages, 430-431 asynchronous loading, 88 cursor-style, 432 readystatechange events, 103-104 How can we make this index more useful? Email us at indexes@samspublishing.com XMLHTTP objects example, 89-90 pages, loading, 88 status-related properties, 94 XmlNamespaceManager class, 453 XmlResolver class XSLT (Extensible Stylesheet Language . forgot my password, 508 code-behind file, 510-511 email link, 513 HTML code, 509 password change email, 512 -513 UserID parameter,. class, 434 passwords forgot my password page, 508 code-behind file, 510-511 email link, 513 HTML code, 509 password change email, 512 -513 UserID parameter,

Ngày đăng: 21/01/2014, 09:20

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan