{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 '_queueScripts(scriptLoader, scriptBlockNodes, queueIncludes, queueBlocks)'
Method: _queueScripts(scriptLoader, scriptBlockNodes, queueIncludes, queueBlocks)
Method Full Name:     Sys$WebForms$PageRequestManager$_queueScripts(scriptLoader, scriptBlockNodes, queueIncludes, queueBlocks)
Class: PageRequestManager
Namespace: Sys.WebForms
Source File: MicrosoftAjaxWebForms.debug.js
1   function Sys$WebForms$PageRequestManager$_queueScripts(scriptLoader, scriptBlockNodes, queueIncludes, queueBlocks) {
2     
3     for (i = 0; i < scriptBlockNodes.length; i++) {
4       var scriptBlockType = scriptBlockNodes[i].id;
5       switch (scriptBlockType) {
6         case "ScriptContentNoTags":
7           if (!queueBlocks) {
8             continue;
9           }
10          scriptLoader.queueScriptBlock(scriptBlockNodes[i].content);
11          break;
12        case "ScriptContentWithTags":
13          var scriptTagAttributes;
14          eval("scriptTagAttributes = " + scriptBlockNodes[i].content);
15          if (scriptTagAttributes.src) {
16            if (!queueIncludes || Sys._ScriptLoader.isScriptLoaded(scriptTagAttributes.src)) {
17              continue;
18            }
19          }
20          else if (!queueBlocks) {
21            continue;
22          }
23          scriptLoader.queueCustomScriptTag(scriptTagAttributes);
24          break;
25        case "ScriptPath":
26          if (!queueIncludes || Sys._ScriptLoader.isScriptLoaded(scriptBlockNodes[i].content)) {
27            continue;
28          }
29          scriptLoader.queueScriptReference(scriptBlockNodes[i].content);
30          break;
31        }
32      }
33    }
This is the JavaScript source for method _queueScripts(scriptLoader, scriptBlockNodes, queueIncludes, queueBlocks) from ASP.NET AJAX Library. Full name for this method is Sys$WebForms$PageRequestManager$_queueScripts(scriptLoader, scriptBlockNodes, queueIncludes, queueBlocks). 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