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: enter image description here

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.

enter image description here


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -