CRVS2010 beta - ReportSource Property for new Viewer-Control for WPF

Hello,
I use the new Crystal Reports for Visual Studio 2010 Beta. There is a new Viewer-Control for WPF.
But I don't know, where to specify the ReportSource.
Thanks
Peter
Added the info into the subject line for this beta
Edited by: Don Williams on Jun 30, 2010 8:21 AM

Hi,
O.K., in this way I can set the ReportSource Property, but if I use the load-method, the compiler don't "know" about the properties of the specific report.
The code
For Each crReportObject In rd.Section4.ReportObjects
brings the message
Fehler     16     "Section4" ist kein Member von "CrystalDecisions.CrystalReports.Engine.ReportDocument".     C:\VS2010\...     484     40     WpfBudget
An other problem is, that "C:\Users\aTai\Documents\Visual Studio 2010\Projects\CrystalReportWpfApplication1\CrystalReportWpfApplication1\CrystalReport1.rpt" don't exist on an user computer.
Thanks
Peter

Similar Messages

  • CRVS2010 Beta - Crystal Reports for VS 2010 in November???

    Hey guys,
    are you serious??? You told us that the finished version will be released in July!!! We are working with VS 2010 and just because of you guys we are not able to deploy our applications via Click Once. How could it be, that you are that slow? I really have to say, that it was much better, when Crystal Reports was shipped with Visual Studio. Who had the silly idea to change that method?
    I think we are not the only company who is waiting for you to at last release the new version and now it''s even later? This is no good avertisment for you and we will change to another reporting as soon as possible...
    Thank you for nothing!
    Edited by: ksnbg_01 on Jul 6, 2010 2:21 PM
    Modified as per the sticky post at the top of this forum; [Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;
    Edited by: Ludek Uher on Jul 6, 2010 9:32 AM

    Good afternoon.
    I can understand the frustration and we definitely realize that our delay is causing some pain for quite a few of our customers and partners.  To be blunt, we are just not happy with the size of our runtime size, which is why we have introduced this delay until November.  The current runtime size of the release is very high compared to today's runtime, the expectation of the market, and our own standards.  As such, we are working to reduce this.  In the meantime, we will be deploying a Beta 2 release in August, which will be a full featured release, but will include the larger runtime size.  I understand that this is not production grade software as we are labeling it as beta; however, it can be used for developing, testing, and qa'ing your applications.  As far as production deployment goes, it will, unfortunately, need to wait for the November release.
    I am more than happy to setup a time where we can chat over the phone about the challenges that this is creating for you and your organization.  Please feel free to give me a call (678 575 8916).
    Coy
    Product Owner - Enterprise Reporting

  • CRVS2010 Beta - Help Wanted for VS2010 and CR!

    I have been having a hard time getting CR to appear in the VS2010 Ultimate toolbox. I have set the target to Framework 4.0 and installed the CR4VS2010 program but the CR viewer is not showing.
    The problem is worsened by the fact that I am new to CR anyway.
    I really have been banging my head against a brick wall.
    Is there anyway to check the actual installation of CR? The Control Panel says 2008 was installed. Are there any tips about VS2010 and CR working?
    Also are there any books about VS2010 and CR? I saw a lot of CR books but there were not about VS2010.
    Thanks.
    Edited by: Ludek Uher on Jun 17, 2010 8:34 AM

    Solution: re-installed cr4VS2010 and then checked Control Panel to ensure Crystal Reports 2010 was installed. The installation is very long and I think before it had not fully installed as especially the progress bar shows 100% but the installing continues.

  • CRVS2010 Beta - Error in report with currency field in WPF viewer

    When using CRVS2010 with one of my applications I discovered that an InvalidOperationException happens everytime I try to load a report that contains a Currency Field database entry in the WPF viewer.
    To be sure, I made a simple report just with the Currency field and the error happens the same way.
    The exception that I receive is:
    This Pop operation has no corresponding Push to remove from the stack because the stack depth of the DrawingContext is zero.
    And the Stack trace is:
    at System.Windows.Media.RenderDataDrawingContext.Pop()
       at SAPBusinessObjects.WPF.ViewerShared.PageRender.drawFieldObjectInstance(FieldObjectInstance fieldObjectInstance, VisualCollection visuals)
       at SAPBusinessObjects.WPF.ViewerShared.PageRender.drawReportObjectInstance(ReportObjectInstance instance, VisualCollection visuals, Rect sectionClipRect)
       at SAPBusinessObjects.WPF.ViewerShared.PageRender.drawSectionInstance(SectionInstance section, VisualCollection visuals)
       at SAPBusinessObjects.WPF.ViewerShared.PageRender.Render(VisualCollection visuals)
       at SAPBusinessObjects.WPF.ViewerShared.PageView.Render()
       at SAPBusinessObjects.WPF.ViewerShared.PageView.set_PageObj(PageObject value)
       at SAPBusinessObjects.WPF.Viewer.DocumentView.ShowNthPage(Int32 PageNumber, Boolean hasAnimation)
       at SAPBusinessObjects.WPF.Viewer.ReportAlbum.OnCreateNewDocumentViewComplete(CreateNewDocumentArgs args)
       at SAPBusinessObjects.WPF.Viewer.DelegateMarshaler.<>c__DisplayClass6`1.<Invoke>b__4(Object )
    This problem happens in the WPF viewer, but not in the WinForms viewer.
    Please, if you know, tell me what I am doing wrong.

    This seems to be a bug in the software.  We will provide a fix in the final release. 
    -Mandeep

  • CRVS2010 Beta - Print functionality  for Crystal Report in VS 2010

    I want to print crystal report documrnt without loading in Reportviewer(in ASP.NET 4.0), just print the report document.
    I have used ReportDocument.PrintToPrinter(1, false, 0, 0);This server-based method .One limitation of this method is that a printer name must be specified.  I can set the default printer at design time in the report, and I can change the printer name at run time by setting the ReportDocument.PrintOptions.PrinterName property.this method prints from the server itself, not from the client machine.  This means that any printer I wish to use must be accessible from the server.  I cannot print to a client's desktop printer using this method unless that printer is shared on the network and mapped to the server.
        But I want to print from client machine(in ASP.NET 4.0) which is not accessible from server.
    I need solution and suggessions.
    Than You
    Hrushikesh Patel

    I don't think that this is a Crystal Reports issue as such. All client / server web apps will behave the same way. See [this|http://support.microsoft.com/kb/184291/en-us] MS Kbase for more details and possible solution.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • CRVS2010 Beta - 'Cannot resolve sumbol' - crystalReportViewer.ReportSource

    I am using Visual Studio 2010 Ultimate Edition and I've installed the Beta 2 release of SAP Crystal Reports, version for Visual Studio 2010. Everything works fine but when I try to set the ReportSource property for the crystalReportViewer I can't find it. Is there any other way to bind a crystal report to CrystalReportViewer? This is my code:
    var cryRpt = new ReportDocument();
            cryRpt.Load("~/CrystalReports/DateToDateReport.rpt");
            new TableLogOnInfos();
            TableLogOnInfo crtableLogoninfo;
            var crConnectionInfo = new ConnectionInfo();
            var crParameterDiscreteValue = new ParameterDiscreteValue {Value = dtpFromDate.Value};
            ParameterFieldDefinitions crParameterFieldDefinitions = cryRpt.DataDefinition.ParameterFields;
            ParameterFieldDefinition crParameterFieldDefinition = crParameterFieldDefinitions["fromDate"];
            ParameterValues crParameterValues = crParameterFieldDefinition.CurrentValues;
            crParameterValues.Clear();
            crParameterValues.Add(crParameterDiscreteValue);
            crParameterFieldDefinition.ApplyCurrentValues(crParameterValues);
            crParameterDiscreteValue.Value = dtpToDate.Value;
            crParameterFieldDefinitions = cryRpt.DataDefinition.ParameterFields;
            crParameterFieldDefinition = crParameterFieldDefinitions["toDate"];
            crParameterValues = crParameterFieldDefinition.CurrentValues;
            crParameterValues.Add(crParameterDiscreteValue);
            crParameterFieldDefinition.ApplyCurrentValues(crParameterValues);
            crConnectionInfo.ServerName = "ServerName";
            crConnectionInfo.DatabaseName = "Database";
            crConnectionInfo.UserID = "Username";
            crConnectionInfo.Password = "Password";
            var crTables = cryRpt.Database.Tables;
            foreach (Table crTable in crTables)
                crtableLogoninfo = crTable.LogOnInfo;
                crtableLogoninfo.ConnectionInfo = crConnectionInfo;
                crTable.ApplyLogOnInfo(crtableLogoninfo);
            crystalReportViewer1.ReportSource = cryRpt;
            crystalReportViewer1.Refresh();
    Edited by: Don Williams on Sep 20, 2010 9:03 PM

    Hello,
    I updated the subject as per the download and info post.
    Right click on the Tool Bar and click add. Then browse to the Viewer located in this folder:
    C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.Windows.Forms.dll
    You should now see it in the Tool Box. I just noticed for some reason I don't see any tools in the tool bar.... I did yesterday but my VM-ware was not closed properly so it seems VM-ware or the OS has broken it.
    Try doing a repair install of VS and see if that fixes the problem. I've also see one person have problems with DEP was enabled...
    Also, no other version of CR can be on your PC or it won't install properly.
    Thank you
    Don

  • In XML view, how to set sap.ui.core.CSSSize array for property "widths" of MatrixLayout Control?

    As SAPUI5 prefer XML views, I'm rewriting JS view into XML views.
    When I translate the statements below, I can not set sap.ui.core.CSSSize array for property "widths" of Control MatrixLayout.
    JS version:
    var oLayout = new sap.ui.commons.layout.MatrixLayout({
        id : 'matrix3'
        columns : 3,
        width : '600px',
        widths : ['100px', '200px', '300px']
    XML version:
    <l:MatrixLayout
        id="matrix3"
        columns="3"
        width="600px"
        widths="['100px', '200px', '300px']">
    <l:MatrixLayout>
    The error says: Uncaught Error: "[100px, 200px, 300px]" is of type object, expected sap.ui.core.CSSSize[] for property "widths" of Element sap.ui.commons.layout.MatrixLayout.
    Same problem with property `backgroundDesign` of MatrixLayoutCell, I can only use a workaround to use String "Fill1" not the Class "sap.ui.commons.layout.BackgroundDesign.Fill1".
    When we meet a property which need a Class object as value, we can not set it in String Format for XML views. That's a pity or I did not find the right way to set NON-String values as property for XML Controls.

    Hi,
    any settings that are not possible in the XML, need to be set in the controller instead.
    Using the string value of an enum is fine, though.
    Regards
    Andreas

  • "CRVS2010 Beta - viewer size issue

    Hello,
    I'm having an issue with the Crystal Reports viewer in a web application. I'm using visual studio 2010 with CRVS2010 Beta 2 installed. In design mode, the web form shows the report in full size as expected, but when I run the application and pull up the report, all I see is the Group Tree icon.
    I've tried setting the height and width on the viewer, but it doesn't seem to have any effect. I placed a border around the viewer so I could be sure it wasn't resizing, and it wasn't.
    I also have a button outside of the viewer that saves the report off as pdf, and that seems to be working just fine. The report saves with all the data and looks perfect.
    I've installed both the 32 bit and 64 bit runtimes on my development machine, but it did not help. I set the application to target 32 bit only, but no help. I set IIS App Pool to Classic mode, no help.
    This is an app that was converted from VS 2008 / .NET Framework 3.5 on a new development machine running VS 2010 & 4.0, so there was no previous version of CR installed.
    I'm running Windows 7 Ultimate N 64bit as OS.
    Here is the code for the viewer.
    <CR:CrystalReportViewer ID="crvPrintPOC" runat="server" AutoDataBind="true"
            BorderStyle="Inset" BorderWidth="2" BestFitPage="True" SeparatePages="True"
            DisplayToolbar="True" HasPageNavigationButtons="True"
            PrintMode="Pdf" HasCrystalLogo="True"
            ReportSourceID="CrystalReportSource1" Height="705px" Width="900px" />
    <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
            <Report FileName="reports\CPRPT-201 CB_Proof_Claim.rpt">
            </Report>
    </CR:CrystalReportSource>
    Thank You!

    Thank you for the suggestions Ludek and Adam,
    I tried deleting the viewer and adding it again, but still get the same result. You can view a screen capture at http://www.flickr.com/photos/54613233@N07/
    I also removed the property BestFitPage, but it didn't make any difference.
    Here is how the code looks now
    <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
         <Report FileName="reports\CPRPT-201 CB_Proof_Claim.rpt">
         </Report>
    </CR:CrystalReportSource>
    <CR:CrystalReportViewer ID="crvPrintPOC" runat="server"
            AutoDataBind="true" ReportSourceID="CrystalReportSource1" />
    Edited by: dav1_1 on Oct 6, 2010 8:56 PM

  • Crvs2010 beta - parameter panel - new feature

    Hello,
    I read the list of  new features for crvs2010. One of the new features listed in the message is the Parameter Panel. The runtime engine supports a parameter panel on the left-hand side. You can optionally place parameters on the panel.
    I did not see the feature in the beta that I have installed. Is it in the beta yet, or is there really something wrong with my installation?
    I would greatly appreciate it if someone would let me know if they have this feature?
    Thank you
    Tracy

    No problem David.
    I know that you have a lot on your plate and I have been known to be a handful, as they say.
    I can understand not updating the vs viewer, when there are other, more up to date options available. For the most post Visual Studio and Crystal are for what us old timers would have called "hard core" programmers, not end users. Today, though, that is changing, more end-users are sometimes very involved in creating what they need.
    When I can catch my breath, I am going to search for a beginners tutorial that covers setting up the .net winform viewer.
    As usual, thank you for all of your help. I really appreciate it.

  • Format for certain columns in list view control

    I have a list view control and I would like to format the alignment for certain columns. I heard that the only way you can do this is by formatting the cells in excel. I tried this with no success. Can someone please give me step by step instructions on how to achieve this. I am currently allowing Xcelsius to handle my formatting for money. Is it possible to have Xcelsius handle the money formatting and have excel handle the alignment  formatting. I am open to whatever works at this point. Also I am using Xcelsius 2008 (Build Number 12,2,1,66).
    Much Thx

    Hi,
       In list view control you can format the entire row only, not a certain column.
       Go to property>Appearance>Text Tab>select Header>Format selected text->select the format.
      For width change: Property> Layout Tab>check custom column width the click the icon and enter width in pixel.
    Regards,
    Senthil K

  • Is there a report viewer control for html5 using javascript?

    VS 2005,2008,2010,2012
    SSRS-2008,2012
    I want to be able to create a simple report viewer that will run on ios, android, and win8 devices.
    I believe that the solution lay with the concept of HTML5 and javascript.
    If I use aspx and vb also HTML5, then don't I run the risk of the target device not having the required .net lbrary?
    Is that correct? Or does the server alone need the library? what about printing or saving as PDF options on the client side?
    So is there a SSRS report viewer control that I can use to create a report that runs on any device that supports HTML5? I want it to look professional.
    Or any technique or tutorial that I can look at to accomplish this goal?
    Thanks
    Jerry C 

    Hi Jerry,
    To work around this issue, you can write .aspx pages using html 5 and use ReportViewer control or iframe to display the report. For more information, please see:
    http://www.hanselman.com/blog/AnnouncingTheWebStandardsUpdateHTML5SupportForTheVisualStudio2010Editor.aspx.
    Since the ReportViewer itself uses Ajax, if the mobile device doesn't support that, you're better use some type of front end code to pull data from a web service and render it.
    Besides, according to the document
    View Reporting Services Reports on Microsoft Surface Devices and Apple iOS Devices, to view and interact with a report on iPad device or Microsoft Surface device, there are several methods:
    from Email subscription
    from Windows Azure portal
    from Report Server
    from Report Manager
    from a SharePoint document library
    from SharePoint web part
    So, it seems impossible to view report through Report Viewer control on mobile devices.
    Reference:
    http://forums.asp.net/t/1863129.aspx/1
    Hope this helps.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Expand=false for Tree view control

    Hi 
    I have a placed a tree view control on SharePoint 2010 master page  and given sitemap as a datasource.
    and my tree view is displaying all the links from sitemap file.
    But here the problem is all the node are getting expanded.
    Is there any way to disable that.

    Assuming you are using SPTreeview control you can set ExpandDepth property. This property gets or sets the number of levels that are expanded when a TreeView control is displayed for the first time.
    Example: http://msdn.microsoft.com/en-us/library/ms466994(v=office.14).aspx
    Amit

  • I recently bought a new i phone 4 as my other one had seen beter days and for the last sevral days have been trying to transfer my photos ect from my old phone to my new one after I've plugged my old iPhone into iTunes to back it up i then plug in my    i

    I recently bought a new i phone 4 as my other one had seen beter days and for the last sevral days have been trying to transfer my photos ect from my old phone to my new one after I've plugged my old iPhone into iTunes to back it up i then plug in my one to transfer it over I've had no luck I've tryed restoring my new phone to the last time i backed up my old files the phone restores but always to its own backup point wen i first connected it to iTunes can anyone help me please?

    Since this is the second computer you've had this problem with, I recommend you look for answers on the iPhone forum. My thinking is it is an iPhone issue rather than a computer issue (unless it is some software incompatibility).

  • SSRS & Report Viewer control - Show the print button and fire print for multi page report in Mozilla & Chrome

    I have reports in SSRS. I am using remote reports. Reports have multiple pages.
    In IE, the print button displays, but in Firefox and Chrome, it does not display.
    Below links shows how to display the print button for mozilla and chrome. These solutions only fire the print for the
    current page in the report viewer-
    http://stackoverflow.com/questions/951009/sql-reporting-services-print-button-not-shown-in-mozilla
    http://stackoverflow.com/questions/4208457/ssrs-print-button-in-chrome-and-firefox
    I need to be able to issue a print command for all
    pages in one go from the reportviewer.

    Hello,
    The common workaround about print button on ReportViewer control for non-IE browsers is add ActiveX print control or create Print function. It has pros and cons.
    I am not good at programming. But you can try to disable page breaks by setting InteractiveHeight to 0 so that the report will rendering in single page with Report Viewer control.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Unable to create a new view for SAP UI5 in NWDS

    Hi UI5 Profis,
    I'm just getting started with SAP UI5 and wanted to create and run my first application using the UI5 Tools wirh NWDS. After having installed NWDS and the UI5 Tools
    I create new SAP ui5 project, but the wizard always run into error, when I want to create new view.
    Did someone already have the same issue?
    Thanks in advance,
    BR,
    Berenger

    Hi Berenger,
    Which is your NWDS version?
    It seems there is a bug on view creation with 1.8.8 version:
    1814417 - Patched version 1.8.8 of UI Development Toolkit for HTML5
    http://service.sap.com/sap/support/notes/1814417
    Kind regards

Maybe you are looking for

  • In Safari the top bookmarks line of icons disappears when the screen is enlarged. how do I get it back?

    When I am on my sarafi home screen, I loose the top 2 rows of icons, When I reduce the screen size using the arrows in the top right corner they reappear. How do I get them to stay when in full screen mode??

  • Printing from my MacBook Pro to HP printer

    Hoping someone can assist as I am in Italy and truly need help with this! I have connected my Macbook pro to the printer and all looks connected, except when I print error message reads not connected? Any ideas? Thank you in advance Angie

  • Duplicate folder names in DISCO Admin.

    I am creating multiple Business Areas in the same EUL. Some of these BAs contain the same tables. In Folder properties, Discoverer provides a 'Name', defined as the name users will see to identify this object. There is also an 'Object' Property, whic

  • How Can I spin down fans? I can't!

    In kernel 2.6.23 times, without starting sensors or fancontrol daemons or any special module, only with laptop-mode-tools, fans were automatically spinned down when the laptop was "idle", not doing anything or only programming with vim. After a few t

  • Disable automatic insertion of date in Word 2007

    Hi We use Office 2007 Danish and I need to find the setting that disables the automatic correction/insertion of dates in Word 2007. If I want to write 24. february 2011 it automatically corrects it to 24. february 2011-03-17. I have looked everywhere