AJAX POST method

I am new to Ajax.Net.

I want to know how to access the post data using the Ajax POST method. (ie) AjaxObject.send ("Some data")

How do I access this "Some Data" on the form?

I can access them when I have used the GET method and passed the data to the Querystring. as Request.Querystring ("name") in ASP.

+1


source to share


2 answers


You need to define Webservice (asmx) on the server. You can find good documentation at http://www.asp.net



Specifically around web services: http://www.asp.net/AJAX/Documentation/Live/tutorials/ASPNETAJAXWebServicesTutorials.aspx

+1


source


On the server side, you get POSTed ajax data the same way you access any POSTed form data:



Request.Form("name")

      

0


source







All Articles