Print web-form to pdf

C

Chris

Hi

Is it possible to print a web-form to pdf using a form button? I tried a lot
(xDocument.Print(), ...) but there seems to be limitation on web-forms cause
web-forms are hostet in a control.

What's best practice?

Thank you for your support.
Chris
 
C

Chris

Hi
Thank you to be patient. I am not expert in .net programming. But using your
excelent documentation and some microsoft KB articles have been successful.
The pdf generation works fine, without any issues.

I know, the next question is not part of this forum. But anyway, maybe you
have an idea. I have installed the VisualStudio Professional 2008 on my
SharePoint webserver. If I run the "web-form to pdf" application in debug
mode, I can not set any breakpoinst in the source code. The symbolfiles could
not be found. "Error" messages are displayed as part of the webbrowser
instead the VS debugger. I configured the debug mode following the
description in "Hosting the InfoPath 2007 Form Editing Environment in a
Custom Web Form" (microsoft article), but i does not work.

Do you have any idea.

Thank you for your support.
Chris
 
S

S.Y.M. Wong-A-Ton

I don't yet have much experience using VS 2008 in a SharePoint environment,
so wouldn't know. What you could try to do is attach the debugger to the
worker process and see if you can debug that way instead of setting
breakpoints and pressing F5. Other than that, you could do a Google search on
VS 2008 debugging or on the exact error messages that you are getting to see
whether other people have been having the same issue and/or whether this is a
bug.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top