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.
Unfortunately, activation email could not send to your email. Please try again.

UpdatePanel Issues

Thread ID:

Created:

Updated:

Platform:

Replies:

73280 Apr 28,2008 05:38 PM Jul 25,2012 06:38 PM ASP.NET Web Forms (Classic) 3
loading
Tags: DocIO
David A. Gonzales
Asked On April 28, 2008 05:38 PM

Hi,
Anyone reported any trouble using DocIO within a UpdatePanel? Actually, I have a button in an updatepanel that I want to generate a report with and the routine is called but the dialog that asks if you want to save or open the created document does not open. Note that the control is created dynamically and it's placed within a DIV tag and then a placeholder. If I put a button manually in the ContentTemplate of the UpdatePanel it works but I really need it inside the Placeholder control.

Thanks.


David A. Gonzales
Replied On April 29, 2008 11:48 AM

Hi,
Just a note that I have a fix for those of you that are having similar problems generating a report in a update panel. I simply changed the server side call when the button is clicked to a client side and then call the __DoPostBack() call to handle the server side code. One advantage to doing it this way is I can determine if my users have run the model (thus we have data) and if not fire a client-side dialog to inform them to run the model first before generating a report.

David.


Yavanaarasi G [Syncfusion]
Replied On April 30, 2008 03:33 AM

Hi David,

Thank you for your update.

Please let me know if you have any other concerns.

Regards,
G.Yavana


Kathy England
Replied On July 25, 2012 06:38 PM

I'm running into the same trouble trying to produce a pdf document within an update panel at the following line:

doc.Save("Proforma.pdf", Response, HttpReadType.Open)

 

What is your recommended fix?

 

Thank you.

 


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.

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.

;