Showing posts with label developed. Show all posts
Showing posts with label developed. Show all posts

Monday, March 26, 2012

print button of Crystal report 11.5 didnt show pop-up dialog with AJAX

I have developed one web application with ASP.Net 2.0 with AJAX 1.0 and Crystal Report 11.5 Release 2.

When i put Crystal Report viewer in AJAX's update panel, Crystal report viewer is opened properly, but when i try to export or print the report from Crystal Report viewer, it is not showing any dialog box for export or print. Print mode of Crystal report viewer is ActiveX.

Can any body help regarding this problem with example(if possible) ?

Regards,

Krunal Shah

http://forums.asp.net/thread/1325110.aspx
(UpdatePanel does not allow the CrystalReportViewer control to print or export.)

http://forums.asp.net/thread/1660467.aspx
(button inside update panel Firefox problem)

etc., etc.

Saturday, March 24, 2012

Problem converting from Atlas beta to Ajax

Hi,

I have an application that uses the Modal Popup Extender control. I developed it using the beta of Atlas, and now I'm trying to convert it to version 1.0 of Ajax.

I've removed the Atlas references and added the one for the AjaxControlToolkit. I replaced the Atlas ScriptManager tag with the new ASP:ScriptManger tag, and I replaced the Atlas ModalPopupExtender and ModalPopupProperties tags with the Ajax ModalPopupExtender tag. When I try to run the program, I get a Javascript error which says 'Sys' is undefined, and refers to the following code added at runtime:

Sys.Application.initialize();
Sys.Application.add_init(function() {
$create(AjaxControlToolkit.ModalPopupBehavior, {"CancelControlID":"rpPermitsPlus_ctl00_OkButton","DynamicServicePath":"/PP_ServiceWorkTicket.aspx","PopupControlID":"rpPermitsPlus_ctl00_pnlTennantStatus","id":"rpPermitsPlus_ctl00_mpeTennantStatus"}, null, null, $get("rpPermitsPlus_ctl00_btnReport"));

Can someone tell me what I've done wrong, and what I need to do to get this application working again? Thanks for your help!

You need to edit your web.config in multiple places as well. I would suggest you compare the sample web.config in the ASP AJAX with your own.
That did it. Thanks kp0!