Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
425
Reporting - PDF / Excel
posted

Hi All,

I'm having a bit of trouble deciding on the best approach to this scenario.

The app I'm currently working on has a requirement to produce reports in both Excel and PDF formats.  Originally I was looking at using a FlowDocument to construct the report and then output from this.

However, since we have the Infragistics Ultimate collection it makes far more sense to use this set of controls to solve the problem.

However, before I can commit to this I would like to know how it's going to work at a high level.

It appears that the Excel engine and Reporting stuff are very different beasts.  Are there any common/shared things between them that could be used to reduce the target format to a small detail in he implementation?

I'm a bit lost in Infragistics options.

Parents
  • 425
    posted

    Trying to add an object data source using the wizard is completely failing:

    My test class looks like:

        public class ReportBuilder
        {
            public string ReportTitle { get; set; }

            public XamDataGrid DemoGridData { get; set; }

            public IEnumerable<string> SomeTestData { get; set; }

            public ReportBuilder()
            {
                ReportTitle = "TestReport";
                DemoGridData = new XamDataGrid {BindToSampleData = true};
            }

            public IEnumerable<string> GetData()
            {
                SomeTestData = new List<string> {"test", "Test2"};
                return SomeTestData;
            }
        }

    All the buttons in the Report Data Exloperer are disabled.  When clicking on the DataSource Invitation I get the expected wizard but selecting my class doesn't leist any methods or properties from the class:

Reply Children