Hello,
I have several questions about submitting forms to asp.net server.
Let's say I have a form which submits data to asp.net server and submit format is xml data. If the pdf file contains an image will it be included too? If yes what will be the format of the image?
Secondly, if some of the fields are not filled, will they be included in the xml files as empty fields or will they be omited from the xml file altogether?
Finally, after processing the posted data I would like to display a message to user e.g: success or failure. How can I achieve it? I believe I need to set the Response but what should be the format of the response? Will just a plain text work?
Thank you.
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
1. The inage will be included if you are using an image field. It will be base64 encoded in the image field tags.
2. The only time the fields will not be included in the data file is if the binding is set to None or there is a bad binding expression for what you are trying to do.
3. If the form is being displayed in a browser you can send back an HTML formatted message. If it is being displayed in standalone Acrobat/Reader then you must send back a PDF with the message in it
Paul
Thank you for your answer.
Will it work with Reader if I just do Response.Redirect("somewebsite.com/somefile.pdf"); ?
Thanks
Views
Replies
Total Likes
Yes I believe so.
Paul
Views
Replies
Total Likes
Thanks!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies