{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
AJAX Source Viewer
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method '_scriptsLoadComplete()'
Method: _scriptsLoadComplete()
Method Full Name:     Sys$WebForms$PageRequestManager$_scriptsLoadComplete()
Class: PageRequestManager
Namespace: Sys.WebForms
Source File: MicrosoftAjaxWebForms.debug.js
1   function Sys$WebForms$PageRequestManager$_scriptsLoadComplete() {
2     var response = this._updateContext.response;
3     this._updateContext = null;
4     if (window.__theFormPostData) {
5       window.__theFormPostData = "";
6     }
7     if (window.__theFormPostCollection) {
8       window.__theFormPostCollection = [];
9     }
10    if (window.WebForm_InitCallback) {
11      window.WebForm_InitCallback();
12    }
13    if (this._scrollPosition) {
14      if (window.scrollTo) {
15        window.scrollTo(this._scrollPosition.x, this._scrollPosition.y);
16      }
17      this._scrollPosition = null;
18    }
19    Sys.Application.endCreateComponents();
20    this._pageLoaded(false);
21    this._endPostBack(null, response);
22    if (this._controlIDToFocus) {
23      var focusTarget;
24      var oldContentEditableSetting;
25      if (Sys.Browser.agent === Sys.Browser.InternetExplorer) {
26        var targetControl = $get(this._controlIDToFocus);
27        focusTarget = targetControl;
28        if (targetControl && (!WebForm_CanFocus(targetControl))) {
29          focusTarget = WebForm_FindFirstFocusableChild(targetControl);
30        }
31        if (focusTarget && (typeof(focusTarget.contentEditable) !== "undefined")) {
32          oldContentEditableSetting = focusTarget.contentEditable;
33          focusTarget.contentEditable = false;
34        }
35        else {
36          focusTarget = null;
37        }
38      }
39      WebForm_AutoFocus(this._controlIDToFocus);
40      if (focusTarget) {
41        focusTarget.contentEditable = oldContentEditableSetting;
42      }
43      this._controlIDToFocus = null;
44    }
45  }
This is the JavaScript source for method _scriptsLoadComplete() from ASP.NET AJAX Library. Full name for this method is Sys$WebForms$PageRequestManager$_scriptsLoadComplete(). It belongs to the class PageRequestManager, which is in Sys.WebForms namespace. This source is in MicrosoftAjaxWebForms.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map