{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 '_updateControls(updatePanelIDs, asyncPostBackControlIDs, postBackControlIDs, asyncPostBackTimeout)'
Method: _updateControls(updatePanelIDs, asyncPostBackControlIDs, postBackControlIDs, asyncPostBackTimeout)
Method Full Name:     Sys$WebForms$PageRequestManager$_updateControls(updatePanelIDs, asyncPostBackControlIDs, postBackControlIDs, asyncPostBackTimeout)
Class: PageRequestManager
Namespace: Sys.WebForms
Source File: MicrosoftAjaxWebForms.debug.js
1   function Sys$WebForms$PageRequestManager$_updateControls(updatePanelIDs, asyncPostBackControlIDs, postBackControlIDs, asyncPostBackTimeout) {
2     if (updatePanelIDs) {
3       this._updatePanelIDs = new Array(updatePanelIDs.length);
4       this._updatePanelClientIDs = new Array(updatePanelIDs.length);
5       this._updatePanelHasChildrenAsTriggers = new Array(updatePanelIDs.length);
6       for (var i = 0; i < updatePanelIDs.length; i++) {
7         var realPanelID = updatePanelIDs[i].substr(1);
8         var childrenAsTriggers = (updatePanelIDs[i].charAt(0) === 't');
9         this._updatePanelHasChildrenAsTriggers[i] = childrenAsTriggers;
10        this._updatePanelIDs[i] = realPanelID;
11        this._updatePanelClientIDs[i] = this._uniqueIDToClientID(realPanelID);
12      }
13      this._asyncPostBackTimeout = asyncPostBackTimeout * 1000;
14    }
15    else {
16      this._updatePanelIDs = [];
17      this._updatePanelClientIDs = [];
18      this._updatePanelHasChildrenAsTriggers = [];
19      this._asyncPostBackTimeout = 0;
20    }
21    this._asyncPostBackControlIDs = [];
22    this._asyncPostBackControlClientIDs = [];
23    this._convertToClientIDs(asyncPostBackControlIDs, this._asyncPostBackControlIDs, this._asyncPostBackControlClientIDs);
24    this._postBackControlIDs = [];
25    this._postBackControlClientIDs = [];
26    this._convertToClientIDs(postBackControlIDs, this._postBackControlIDs, this._postBackControlClientIDs);
27  }
This is the JavaScript source for method _updateControls(updatePanelIDs, asyncPostBackControlIDs, postBackControlIDs, asyncPostBackTimeout) from ASP.NET AJAX Library. Full name for this method is Sys$WebForms$PageRequestManager$_updateControls(updatePanelIDs, asyncPostBackControlIDs, postBackControlIDs, asyncPostBackTimeout). 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