{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
Slideshow of method source in a particular class. Choose a class from the Namespaces, Classes, or Methods menu item above.
Slideshow for Class 'WebRequest'
Previous Method:

None


Current Method:

_createQueryString(queryString, encodeMethod)
Next Method:

_createUrl(url, queryString)
Method '_createQueryString(queryString, encodeMethod)'
Method: _createQueryString(queryString, encodeMethod)
Method Full Name:     Sys$Net$WebRequest$_createQueryString(queryString, encodeMethod)
Class: WebRequest
Namespace: Sys.Net
Source File: MicrosoftAjax.debug.js
1   Sys.Net.WebRequest._createQueryString = function Sys$Net$WebRequest$_createQueryString(queryString, encodeMethod) {
2     if (!encodeMethod)
3     encodeMethod = encodeURIComponent;
4     var sb = new Sys.StringBuilder();
5     var i = 0;
6     for (var arg in queryString) {
7       var obj = queryString[arg];
8       if (typeof(obj) === "function") continue;
9       var val = Sys.Serialization.JavaScriptSerializer.serialize(obj);
10      if (i !== 0) {
11        sb.append('&');
12      }
13      sb.append(arg);
14      sb.append('=');
15      sb.append(encodeMethod(val));
16      i++;
17    }
18    return sb.toString();
19  }
This is the JavaScript source for method _createQueryString(queryString, encodeMethod) from ASP.NET AJAX Library. Full name for this method is Sys$Net$WebRequest$_createQueryString(queryString, encodeMethod). It belongs to the class WebRequest, which is in Sys.Net namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map