Click here to Skip to main content
15,897,518 members

Comments by Sanket Saxena (Top 200 by date)

Sanket Saxena 13-Dec-16 0:56am View    
Hey Ryan.. My content type is:
response.Content.Headers.ContentType = new MediaTypeHeaderValue("application/pdf");

And using a WEB API how would i pass the response to any 3rd party dll...i am using iTextSharp.

If it is MVC Controller i can manage the PDF generation easily by using Rotativa and pass the model or the View but in WEB API i cant implement that way.
Sanket Saxena 12-Dec-16 7:34am View    
Your second point is correct that i would like to create a PDF when the Mobile User clicks a button on their mobile and that PDF should send to their email address.
According to your link i can send the File from my class file to API Controller but from here how to generate the PDF.
Sanket Saxena 28-Aug-15 9:07am View    
Just Google it will provide more option.
Sanket Saxena 28-Aug-15 9:05am View    
Don't understand why you are calling this ready function in pageLoad()?
Sanket Saxena 28-Aug-15 9:00am View    
What is the issue you are facing while implementing it?