Click here to Skip to main content
15,896,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have pdf forms which are created by using adobe livecycle designer9 tool
in pdf forms i placed as submit button for which i given url like http://localhost:1035/Home/savepdf/

that means i am posting pdf document to the function called savepdf in Home controller so for this function i am taking a parameter which should understand the pdf file being submitted so

can any one tell me that which type of object should be maintained to access the pdf file data in the controller level.
Posted
Comments
Smithers-Jones 11-May-10 9:47am    
It's enough to ask your question one time. I deleted the second one, since it was exactly the same with a slightly differrent subject line.

1 solution

There is nothing built in that can 'understand' a PDF. You need to buy a third party component for that. However, you do not need to 'understand' a PDF to simply read it as a byte array and then write it to the response stream, MVC framework should make no difference to how that is done ( making your subject line kind of useless )
 
Share this answer
 
Comments
parshi 13-May-10 1:13am    
thanks for your replay and apologies for subject line.
i taken the parameter type as bytearray but even though the data is not coming to the controller it is saying null value

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900