Crystal Reports :: Printing Directly Without Using Toolbar On CrystalReportViewer?

Jul 21, 2010

I 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 Replies


Similar Messages:

Crystal Reports :: Display Data In CrystalReportViewer In Vb.net?

Nov 29, 2010

I have written this code for CrystalReportViewer but this not work

Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim scon As String = "server=(local);database=my;User;Password=sa"
sqlcon = New SqlConnection(scon) [code]....

View 4 Replies

Crystal Reports :: 'CrystalReportViewer' Is Ambiguous In The Namespace 'CrystalDecisions.Web'

Feb 17, 2011

I installed Microsoft Visual Studio 2010 and I got a setup of crystal report from my friend titled with "CRforVS_13_0" , everything till now smooth and the world that rose !

let us the error scenario

1 - Create new Website
2 - add new table on the Default.aspx web page
3 - Build solution everything look great
4 --- Drag drop of the control CrystalReportViewer and build to find the below errors

Error 2 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'. C:UsersuserDocumentsVisual Studio 2010WebSitesWebSite6Default.aspx 28

Error 3 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'. C:UsersuserDocumentsVisual Studio 2010WebSitesWebSite6Default.aspx 28

Error 4 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'. C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Fileswebsite64931b126339b72a7App_Web_tyipm02u.2.vb

Error 5 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'. C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Fileswebsite64931b126339b72a7App_Web_tyipm02u.2.vb

Error 6 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'. C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Fileswebsite64931b126339b72a7App_Web_tyipm02u.2.vb

Error 1 C:UsersuserDocumentsVisual Studio 2010WebSitesWebSite6Default.aspx(28): error BC30560: 'CrystalReportViewer' is ambiguous in the namespace 'CrystalDecisions.Web'.

Error 7 Unable to load referenced library 'C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Fileswebsite64931b126\_shadow339b72a725213691630133667App_Web_site.master.cdcab7d2.0yuyrufa.dll': The system cannot find the path specified.

Error 8 Unable to load referenced library 'C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NET Fileswebsite64931b126\_shadow339b72a725213691630133667App_Web_site.master.cdcab7d2.0yuyrufa.dll': The system cannot find the path specified. C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary
ASP.NET Fileswebsite64931b126\_shadow339b72a725213691630133667App_Web_site.master.cdcab7d2.0yuyrufa.dll

View 2 Replies

Crystal Reports :: Type 'CrystalDecisions.Web.CrystalReportViewer' Is Not Defined.

Jul 14, 2010

I get this error while compiling in vs studio 2008 but in vs 2005 i dont get this error please help view code below

:Designer code:Option Strict On
Option Explicit On
Partial Public Class stockvaluation [code]....

View 1 Replies

Crystal Reports :: CrystalReportViewer.ReuseParameterValuesOnRefresh Throws NullReferenceException

Feb 10, 2010

I am installing a website that uses CrystalReport to display reports on a customer's server. When trying to display a report I got an error at the following line:

<CR:CrystalReportViewer runat="server" AutoDataBind="True" EnableDatabaseLogonPrompt="False" EnableParameterPrompt="False" ReuseParameterValuesOnRefresh="True" DisplayGroupTree="False" .... />Error:
[NullReferenceException: Object reference not set to an instance of an object.]
CrystalDecisions.Web.CrystalReportViewerBase.set_ReuseParameterValuesOnRefresh(Boolean value) +28
ASP.memberpages_MyPage_aspx.__BuildControlCrystalReportVPI() in d:Web_apldomainMemberPagesMyPage.aspx:10
ASP.memberpages_MyPage_aspx.__BuildControlshow_filter() in d:Web_apldomainMemberPagesMyPage.aspx:9
ASP.memberpages_MyPage_aspx.__BuildControlContent(Control __ctrl) in d:Web_apldomainMemberPagesMyPage.aspx:8
System.Web.UI.CompiledTemplateBuilder.InstantiateIn(Control container) +12
ASP.memberpages_sitetemplate_master.__BuildControlSiteTemplate_Content() in d:Web_apldomainMemberPagesSiteTemplate.master:90
ASP.memberpages_sitetemplate_master.__BuildControlSiteTemplateForm() in d:Web_apldomainMemberPagesSiteTemplate.master:39
ASP.memberpages_sitetemplate_master.__BuildControlTree(memberpages_sitetemplate_master __ctrl) in d:Web_apldomainMemberPagesSiteTemplate.master:1
ASP.memberpages_sitetemplate_master.FrameworkInitialize() in d:Web_apldomainMemberPagesSiteTemplate.master.cs:912307
System.Web.UI.UserControl.InitializeAsUserControlInternal() +31
System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1978576
System.Web.UI.Page.get_Master() +48
System.Web.UI.Page.ApplyMasterPage() +18
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +543
I tried to set the same attributers programmatically in the Page_Load event:
protected void Page_PreInit(object sender, EventArgs e)
{
CrystalReportVPI.AutoDataBind = true;
CrystalReportVPI.EnableDatabaseLogonPrompt = false;
CrystalReportVPI.EnableParameterPrompt = false;
CrystalReportVPI.ReuseParameterValuesOnRefresh = true;
...
}

Here the NullReferenceException is thrown only in the »CrystalReportVPI.ReuseParameterValuesOnRefresh = true;« line. The same page runs on another customer's server with no errors. The server's environment is: Windows Server 2000 CRRedist2005_x86.msi dotnetfx.exe 2.0.50727.42 Has anyone encountered problems like this? Any idea how to solve it? I already searched for answers on different forums with no result.

View 1 Replies

Crystal Reports :: Error "Unable To Cast Object Of Type 'CrystalDecisions.Web.CrystalReportViewer'

Jan 6, 2011

I have installed the final version of Crystal Reports for Visual Studio 2010. I created a new ASP.Net project, saved it, closed it, and then came back to it later. I was prompted to convert the project because of an out of date version of Crystal Reports. But I just created the project...how can the version already be out of date? Also, once the conversion is complete the CrystalReportViewers error stating "Unable to cast object of type 'CrystalDecisions.Web.CrystalReportViewer' to type 'CrystalDecisions.Web.CrystalReportViewerBase'. I am using .NET Framework 3.5 (I cannot use 4.0 for other reasons). Is this the cause?

View 2 Replies

Crystal Reports :: Trying To Print A Crystal Report Directly To Printer

Nov 2, 2010

I'm trying to print a crystal report directly to printer, I'm using a server side code PrintToPrinter(1, false, 1, 1) so the report is printed on the default printer of the the server . I need a way to let the report be printed directly to the client's printer . This is my Code

[Code]....

View 2 Replies

Crystal Reports :: Error Displayed When Printing Crystal Report Using ActiveX

Aug 9, 2010

ent system (Windows 7 x64) and live system (Server 2008 x64), and both with IIS7 I receive the following error message, after clicking the "Print" button in the printer selection popup."An error occurred on the server. Printing will be stopped. Would you like to view the error information?"If I click "y

View 1 Replies

Crystal Reports :: No Icon On Toolbar Only X

Jun 22, 2010

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.

View 1 Replies

Crystal Reports :: Printing Label And Envelope By Crystal Report?

Feb 24, 2011

I have C#.net address book project. As the part of project, I have to print address label and envelop by using crystel report.Address is taken from database.I have to print and view printing preview from browser.I am new one in C#.net.

View 1 Replies

Crystal Reports :: How To Export The Crystal Report To PDF Directly

Aug 3, 2010

I am developing web application using csharp on visual studio 2008.I am able to generate reports, but I want just to export or generate reports in pdf only. How can I achieve this? The code I am using is below. But it is not working.

[Code]....

The code for report

[Code]....

View 11 Replies

Crystal Reports :: Adjust Width Of Toolbar?

Mar 24, 2010

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 Replies

Crystal Reports :: Red X In Toolbar - Image Disappears

Apr 25, 2010

The 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 Replies

Crystal Reports :: Toolbar Buttons Are Not Working

Mar 12, 2010

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 Replies

Crystal Reports :: Toolbar Not Displaying - CR 2008 And 3.5

Dec 7, 2010

I 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 Replies

Crystal Reports :: Toolbar Not Working - Incorrect Log On Parameters?

Dec 17, 2010

My 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.

View 14 Replies

Crystal Reports :: Buttons On Toolbar - Empty Output?

Feb 2, 2010

I'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 Replies

Crystal Reports :: View Toolbar Not Showing Correctly

Sep 27, 2010

Crystal report view tool bar is not showing correctly. Instead of toolbar there is text "Submit Query"

View 2 Replies

Crystal Reports :: Toolbar Images Not Displaying In Production Server

Sep 23, 2010

Crystal Reports Toolbar Images not displaying in the production server.

View 3 Replies

Add A Close Button Into The Toolbar Of Crystalreportviewer?

Feb 2, 2011

There are two pages in app, pageA and pageB. Once user clicks a button from pageA will open pageB in which there is a crystalreportview to open a crystal report.

In pageB, how to add a close button into the toolbar of crystalreportviewer?

By clicking this button will close pageB and then open pageA

View 1 Replies

Crystal Reports :: Export / Print From Toolbar Just Displays Reportviewer Webpage Again

Jun 10, 2010

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

View 1 Replies

Crystal Reports :: Toolbar Print Button Not Working In Google Chrome Browser

Mar 1, 2011

I 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 Replies

Crystal Reports :: Viewer Toolbar Button Control - Microsoft JScript Runtime Error

Nov 2, 2010

I 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 .....

View 7 Replies

Crystal Reports :: Direct Printing Without Converting Into PDF?

Apr 3, 2010

I am using asp.net 2.0 and crystal. When I click on print button on tollbar of crystal report. Report is converted to pdf but I don't want to view this report in pdf it must ask for the printer and directly print the report, rather than opening report in pdf and printing.

View 2 Replies

Crystal Reports :: Add Image At Time Of Printing

Nov 27, 2010

I am using a Convocation project. In the form there is fileupload control to add image. Now I want to add that image in the report at the time of Print Report. I use MSACCESS as backend.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved