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
Post a Comment