- Home
- Forum
- ASP.NET Web Forms (Classic)
- PDF in new window
PDF in new window
Is there a way for open the PDF document in a new windows using Syncfusion?.
By the way I am using a binary stream.
By the way I am using a binary stream.
SIGN IN To post a reply.
7 Replies
AD
Administrator
Syncfusion Team
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.
Could you please take a look at this and let me know if you have any other queries.
Regares,
Prakash
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
OM
Oleg Mikhyeyev
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.
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.
SK
Sarath Kumar G
Syncfusion Team
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
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
OM
Oleg Mikhyeyev
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.
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.
SK
Sarath Kumar G
Syncfusion Team
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
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
OM
Oleg Mikhyeyev
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.
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.
SK
Sarath Kumar G
Syncfusion Team
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
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
SIGN IN To post a reply.
- 7 Replies
- 4 Participants
-
TE Tester
- Nov 23, 2006 08:07 PM UTC
- May 19, 2007 01:59 AM UTC