I have a VS2003 .Net 1.1 app. that when the page loads, it calls a sub routine that exports a Crystal report to a PDF. It then redirects to another page that displays the PDF in the browser.
I am upgrading my apps. to VS2005 and .Net 2.0. The above no longer works, all I get is a blank page. The PDF is getting generated, it's just not displaying.
I placed a button on the main page and instead of calling the sub routine from the page_load event, I call it from the button_click. It works from the button_click but not the page_load event.
When I step through the code, it is going through everything properly.
Why would it work from a button_click and not the page_load event?
Thanks
I am upgrading my apps. to VS2005 and .Net 2.0. The above no longer works, all I get is a blank page. The PDF is getting generated, it's just not displaying.
I placed a button on the main page and instead of calling the sub routine from the page_load event, I call it from the button_click. It works from the button_click but not the page_load event.
When I step through the code, it is going through everything properly.
Why would it work from a button_click and not the page_load event?
Thanks