We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PDF in new window

Thread ID:

Created:

Updated:

Platform:

Replies:

52232 Nov 23,2006 08:07 PM UTC May 19,2007 01:59 AM UTC ASP.NET Web Forms (Classic) 7
loading
Tags: PDF
Tester
Asked On November 23, 2006 08:07 PM UTC

Is there a way for open the PDF document in a new windows using Syncfusion?.

By the way I am using a binary stream.

Administrator [Syncfusion]
Replied On November 24, 2006 12:04 AM UTC

Hi Erick,

Yes there is a way to open the PDF document in windows usins syncfusion.

It can be achieved by setting the target property of Hyperlink as _blank.

Here is the sample for your reference.

link.zip


Could you please take a look at this and let me know if you have any other queries.

Regares,
Prakash


Oleg Mikhyeyev
Replied On May 14, 2007 05:54 PM UTC

Hi Prakash.R,
I'm trying to use your example and when I execute command "doc.Save("Sample.pdf", Response, HttpReadType.Open);" I have got exception "Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack." What does this mean?
Thanks,
Oleg M.

Sarath Kumar G [Syncfusion]
Replied On May 14, 2007 10:02 PM UTC

Hi Oleg,

Thank you for your continued interest in Syncfusion products.

I am afraid I am unable to reproduce the issue. Here is the video clip which shows the execution of the program.

http://www.syncfusion.com/Support/user/uploads/Sample_Clip_fbc8d954.zip

Here is the sample program for your reference.

http://websamples.syncfusion.com/samples/PDF.Windows/F_52232_2/main.htm

Please let me know if you face any issues.

Regards,
Sarath

Oleg Mikhyeyev
Replied On May 14, 2007 10:41 PM UTC

Hi Sarath,

Thank you for your reply. I'm getting the same error with your sample. I'm using Internet Explorer 7.0 and Visual Studio 2005. Did you test your program code with configuration like that?
Regards,
Oleg M.

Sarath Kumar G [Syncfusion]
Replied On May 16, 2007 12:20 AM UTC

Hi Oleg,

Sorry for the inconvenience caused.

I installed Internet Explorer 7 in my computer and tested the program execution, it worked fine for me. Also I checked with another browser - Netscape Navigator the program worked fine in that browser also. May I know what is the version of Essential Studio you are using and your system configurations, because that will be helpful for us to investigate further.

Here is the video clip for your reference.

http://www.syncfusion.com/Support/user/uploads/Sample_Pdf_22825062.zip

Here is the sample program for your reference.

http://websamples.syncfusion.com/samples/PDF.Windows/F_52232_2/main.htm

Please let me know if you face any issues.

Regards,
Sarath

Oleg Mikhyeyev
Replied On May 16, 2007 02:09 PM UTC

Hi Sarath,
My version of the Essential Studio is 5.1.0.51. I did update Adobe Acrobat from version 6.0 to version 7.0 and at this moment I'm able to open PDF document in the new window, but I still have the same exception during executing that command: doc.Save("Sample.pdf", Response, HttpReadType.Open);
Please let me know if you have any questions.
Thanks,
Oleg M.

Sarath Kumar G [Syncfusion]
Replied On May 19, 2007 01:59 AM UTC

Hi Oleg,

Sorry for the delayed response.

Can you please try with the following sample. I have used "window.open()" in the load script which opnes a new web page in a new window. Here is the sample for your referece.

http://www.syncfusion.com/Support/user/uploads/HelloWorld_3015442a.zip'>http://www.syncfusion.com/Support/user/uploads/HelloWorld_3015442a.zip">http://www.syncfusion.com/Support/user/uploads/HelloWorld_3015442a.zip

Please check it out and let me know if you face any issues.


Regards,
Sarath

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;