c# - Read POST request with AjaxMethod -


i need read post request in page. using .net 2.0, higher version not possible, , try build page ajaxpro. when send request in js destination, cannot read request using request.form, page.request or other. here code

 public class ajax : system.web.ui.page{      [ajaxmethod]     public string getstring(){          //here read post request          return "";     } } 

did try read data inputstream. 1 such question has more details on this. also, can reset stream , read contents following

request.inputstream.position = 0; // read data 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -