Crystal Reports :: Toolbar Print Button Not Working In Google Chrome Browser
Mar 1, 2011I am create crystol report in asp.net in visual studio 2010 but crystol report toolbar Print Button Not working in Google chrome brouser
View 2 RepliesI am create crystol report in asp.net in visual studio 2010 but crystol report toolbar Print Button Not working in Google chrome brouser
View 2 RepliesEverythings working fine on my PC but when I deployed my application on server, Print and export are not working. Even the toolbar images were not displaying on the report. So I added them manually to my application.
Is there some folder missing?
I'm having issues using the Print/Export functions from the CrystalReportViewer toolbar in Visual Studio 2005. In some cases, the print/export dialog window is simply replaced with the report page, instead of exporting/printing the data. Based on a dropdown box, the Report Document is loaded with a different report file:
If ddReport.SelectedValue = "Report-1" Then rptDoc1.Load(Server.MapPath("/Reports/Report1.rpt"))Else rptDoc1.Load(Server.MapPath("/Reports/Report2.rpt"))End If
I'm using vs2005 asp .net using c#and i using the crystal report viewer to create my report and preview the report using crystal report viewer. When i run the application, i can preview the report well in the form, but when i click any button of th tool bar then a blank page is getting displayed.
View 5 RepliesMy report is displayed without any problem. However, when I click on the button from my crystal report viewer toolbars I get the error. Note : the toolbars is working fine on my local machine.
Error message : Logon failed. Details: mscorlib : Could not find a part of the path 'C:Documents and SettingschiaMy DocumentsVisual Studio 2008WebSitesSafety Permit System
ptLoad_ConfineSpace_Summary.xml'. Error in File C:WINDOWSTEMP
ptPrintSummaryConfineSpace
{965CF937-D48C-483A-AC32-198A790880A6}.rpt: Unable to connect: incorrect log on parameters.
I'm facing issue with the print button present in the toolbar of IE. Whenever i click the print button, the page's prerender event is called. This happens only in IE. When i try to print with Firefox, this does not happen. I have an iframe in first.aspx page. In the prerender event handler, I'm giving the iframe source as follows.
iframe1.Attributes["src"] = "second.aspx"
In second.aspx, i read an image file, convert into byte array and display it in the first.aspx iframe as follows.
try
{
response.contenttype("image/jpeg");
response.binarywrite(img);
response.end();
}
catch(Exception ex)
{
response.write("Error loading the image");
}
The image is displaying properly in both firefox and IE. But when i try to print it, i'm getting error in IE. Also, when i ran in debug mode, i found that on click of print button, the first.aspx's prerender event is being called (only in IE).
how to show direct print dialog box when click on print button in crystal report? when i click on print button the it goes to pdf file i want to show print dialog box?
View 1 RepliesHow to print a microsoft report without using the builtin print button? or print an export version ( .PDF)?
View 3 RepliesI am working with crystal reports. I created a button on crystal report viewer toolbar using the following code protected void Page_Init(object sender,
EventArgs e)
{
Control ts = CrystalReportViewer1.Controls[2];
if (ts.ToString().Contains("ViewerToolbar"))
{
ImageButton BtnExport =
new
ImageButton();
BtnExport.ID = "BtnExport";
BtnExport.ImageUrl = "images/pdf.png";
BtnExport.Click += BtnExport_Click;
ts.Controls.Add(BtnExport);
}
UpdatePanel UpdatePanel1 =
new
UpdatePanel
();
System.Web.UI PostBackTrigger trigger =
new System.Web.UI.PostBackTrigger ();
trigger.ControlID = "BtnExport";
UpdatePanel1.Triggers.Add(trigger);
}
My problem is whenever I click the button to export the report, it shows an error like below: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near .....
to print a crystal report from the server's printer with a button on the web application.Assume that I have a ASP .NET Web Application, When i press the "print" button on the web application, the server which holds the web application prints the specific crystal report with specific data set. Is this possible? How I am going to make this happened?I am sorry to say that I'm very new to all these web programming,
View 3 RepliesI got a problem with crystal report while printing. The problem is if I select Display Toolbar = False in crystal report viewer then I need to press Ctlr+P to print the report which is not good, because it prints the entire page. If I select DisplayToolbar =True then it displays print button and option to print but When I click print button it prints but all fields empty & |||||||||||||||.
When I press print button It displays an option/Messege in browser (Open With Different Viewer) If I press open then I can open it as pdf and print it, and it prints it correctly.
If I don't use this option it print the report blank or like this ||||||||||||||||||||||.
how to print crystal report when asp.net button clicks and after button clicks it shows the print dialogue popup as well as report is save as pdf format in local machine.
View 1 RepliesUsing vb 2005 /asp, I am loading report using cr viewer. Report loads fine. If I click the print button in viewer, the report disappears (the same goes for the zoom button).
[Code]....
I have binded crsytal report through dataset. My crystal report is working fine. but when i click on print button, data is not coming on crystal report . the following code i have written. what i am missing out? How to pass parameter when i click on print button? and how to bind data while printing?
On pageLoad
string ReportPath = Server.MapPath("/Reports/CrystalReport1.rpt").ToString();
reportTnaApprovalbyUser.Load(ReportPath);
reportTnaApprovalbyUser.FileName = ReportPath;
ParameterInCrstalReport();
protected void BIndReport()
{
ServerLogonFunction(----);
reportTnaApprovalbyUser.SetDataSource(ds1);
//ParameterInCrstalReport();
reportTnaApprovalbyUser.SetParameterValue("@Date", DateTime.Now.Date);
reportTnaApprovalbyUser.SetParameterValue("@CompCode", bo.CompCode);
//rp.SetParameterValue(
CrystalReportViewer1.ReportSource = reportTnaApprovalbyUser;
}
protected void ParameterInCrstalReport()
{
BO bo = new BO();
ParameterFields pF = new ParameterFields();
ParameterField p1 = new ParameterField();
ParameterDiscreteValue pdv = new ParameterDiscreteValue();
p1.Name = "@Date";
pdv.Value = DateTime.Now.Date;
p1.CurrentValues.Add(pdv);
ParameterField p2 = new ParameterField();
ParameterDiscreteValue pdv2 = new ParameterDiscreteValue();
p2.Name = "@CompCode";
pdv2.Value = bo.CompCode;
p2.CurrentValues.Add(pdv2);
pF.Add(p1);
pF.Add(p2);
//CrystalReportViewer1.ParameterFieldInfo = pF;
reportTnaApprovalbyUser.SetParameterValue("@Date", DateTime.Now.Date);
reportTnaApprovalbyUser.SetParameterValue("@CompCode", bo.CompCode);
}
I am using crystal reports in my web application which came along with visual studio 2008.My problem here is export and print buttons in crviewer are working fine in my local system but when i hosted the app in server actual problem came into picture.Export and print buttons are not working.
View 1 RepliesImage button not giving postback in Google Crome, The same code is working fine for IE8 and Firefox 3.6.6
<asp:ImageButton ID="btnlogin" runat="server" ImageUrl="~/images/log.jpg"
onclick="btnlogin_Click" OnClientClick="return confirmAction(this)" />
In my project i have tab navigations (like 4 tabs in a page) when i click on the tab i will get that corresponding tab fields.
for tab navigation i use Menu item my code is below
<asp:MenuItem Text="Personal" Value="0"></asp:MenuItem>
<asp:MenuItem Text="Education" Value="1"></asp:MenuItem>
<asp:MenuItem Text="Experience" Value="2"></asp:MenuItem>
<asp:MenuItem Text="Awards" Value="3"></asp:MenuItem>
PROBLEM TO SOLVE:
the tab control is working well IE, FIREFOX,
But not in chrome browser i cant do the tab navigation and link button clicks and Ajax calendar control also.
I have a problem with Crystal Report, to be exact in correct showing of the toolbar in internet explorer:
1.I can see the toolbar but no icons only X- which means that there is no picture or the action is not active.
2.On the server on which this application stands - we have VS 2010 i CR(4_0_30319) installed
3.In the earlier versions CR was simple because I had catalog: /aspnet_client/System_Web/2_0_50727/I , here all the files and everything else worked correctly
4.and now by VS 2010 and new CR i have /aspnet_client/System_Web/4_0_30319/ and its empty.
I want to adjust the toolbar which are coming when i include the crystal report in web form. It look proper in mozila browser but in IE-8 it is not look well its width is not in proper way it is increase.
View 1 RepliesThe Crystal Report worked fine in the localhost,but when i deployed it,the images disappeared, and instead of this appeared Red X image,and The Print and Export buttons didnt work too Note:i deployed it on the internet Not IIS
View 9 RepliesI have a crystal report viewer on .aspx page. When the report is loaded, the report shows but toolbar not displaying, no buttons, borders or scrollbars.But with reports which open in new blank,everything's fine..the toolbar, buttons, borders and scrollbars all show perfectly.
View 3 RepliesI'm building crystal reoport XI 2 on visual studio 2008 the datasourcse of report is dataset and it works for the first time but when i click on next page button or any other buton on the toolbar the report becomes empty I tried to but the dataset at the page load it doesn't work i tried also to put the reportviewer report source at the page load the report retrive date but at the next button it only give the second page.
View 2 RepliesCrystal report view tool bar is not showing correctly. Instead of toolbar there is text "Submit Query"
View 2 RepliesI have been using Crystal Reports again after a few years of using SQL Reporting Services so I'm a bit rusty. I have a couple of reports which work ok but dont require the viewer or toolbar. Is it possible to either have a custom print button or to just go straight to printing the reports without going through the viewer first? Also when I print from the toolbar it then saves and displays the report as a pdf instead of printing the report directly, can I change this?
View 4 RepliesCrystal Reports Toolbar Images not displaying in the production server.
View 3 Replies