Welcome Guest Search | Active Topics | Sign In | Register

EO.Pdf.PdfDocument.SendToClient missing Options
Jasper Jens
Posted: Monday, January 10, 2011 3:00:25 PM
Rank: Newbie
Groups: Member

Joined: 1/10/2011
Posts: 1
After installing EO.Pfd(2011) in Visual Studio 2008 my previous written VB-code produces an error:
EO.Pdf.PdfDocument.SendToClient missing.
Before installing this new EO.pfd the code worked perfectly with on older version of EO.Pdf which I downloaded december 2010.

In the object browser all methods and properties of EO.Pdf.PdfDocument seem to be present but not SendToClient.

Does anyone know how this problem can be solved??

Jasper Jens
eo_support
Posted: Monday, January 10, 2011 3:03:29 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

That function has been removed. Please use the following code instead:

Code: C#
HttpResponse response = HttpContext.Current.Response;
response.Clear();
response.ClearHeaders();
response.ContentType = "application/pdf";
doc.Save(response.OutputStream);


Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.