c# - Adobe PDF Form submitted but Request.Form collection is empty -
i created pdf form containing textbox , submit button. users may open pdf file in adobe acrobat reader or in browser. after filling in textbox , click on submit button, asp.net generic handler process submitted data.
but problem i'm having there no submitted form data.
the pdf form submit button setup follow: 
and server side code:
public class pdfformhandler : ihttphandler { public void processrequest(httpcontext context) { if (context.request.requesttype == "post") { var name = context.request.form["txtname"]; // <-- name null. why? } } public bool isreusable { { return false; } } } the context.request.form collection empty. txtname form element go?
i solved myself. problem need change export format html.

Comments
Post a Comment