{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 '_onFormElementActive(element, offsetX, offsetY)'
Method: _onFormElementActive(element, offsetX, offsetY)
Method Full Name:     Sys$WebForms$PageRequestManager$_onFormElementActive(element, offsetX, offsetY)
Class: PageRequestManager
Namespace: Sys.WebForms
Source File: MicrosoftAjaxWebForms.debug.js
1   function Sys$WebForms$PageRequestManager$_onFormElementActive(element, offsetX, offsetY) {
2     if (element.disabled) {
3       return;
4     }
5     this._postBackSettings = this._getPostBackSettings(element, element.name);
6     if (element.name) {
7       if (element.tagName === 'INPUT') {
8         var type = element.type;
9         if (type === 'submit') {
10          this._additionalInput = encodeURIComponent(element.name) + '=' + encodeURIComponent(element.value);
11        }
12        else if (type === 'image') {
13          this._additionalInput = encodeURIComponent(element.name) + '.x=' + offsetX + '&' + encodeURIComponent(element.name) + '.y=' + offsetY;
14        }
15      }
16      else if ((element.tagName === 'BUTTON') && (element.name.length !== 0) && (element.type === 'submit')) {
17        this._additionalInput = encodeURIComponent(element.name) + '=' + encodeURIComponent(element.value);
18      }
19    }
20  }
This is the JavaScript source for method _onFormElementActive(element, offsetX, offsetY) from ASP.NET AJAX Library. Full name for this method is Sys$WebForms$PageRequestManager$_onFormElementActive(element, offsetX, offsetY). 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