Image in report error

Stimulsoft Reports.Silverlight discussion
fama_0
Posts: 15
Joined: Mon Dec 06, 2010 3:24 pm

Image in report error

Post by fama_0 »

Unfortunately I still am not able to see anything under Retrieve Columns. I just want to make sure I'm adding all the required dlls. These are the ones that I have added to the report generator project. Made sure to add all the ones with SL in them.

Stimulsoft.Base.SL.dll
Stimulsoft.Base.SL.xml
Stimulsoft.Compression.SL.dll
Stimulsoft.Compression.SL.xml
Stimulsoft.Controls.SL.dll
Stimulsoft.Controls.SL.xml
Stimulsoft.Report.SL.dll
Stimulsoft.Report.SL.xml
Stimulsoft.Report.SLDesign.dll
Stimulsoft.Report.SLDesign.xml
Stimulsoft.Report.Viewer.SL.dll
Stimulsoft.Report.Viewer.SL.xml

fama_0
Posts: 15
Joined: Mon Dec 06, 2010 3:24 pm

Image in report error

Post by fama_0 »

For further information I should add that I have a List of a different type as one of the children. Most of the data contained is of normal types, but I do have a nullable bool as one of the items.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Image in report error

Post by Andrew »

Hello,

We need additional time to investigate the problem and reply you.

Thank you.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Image in report error

Post by Andrew »

Hello,

Unfortunately, all our investigations did not achieve results. Possibly our investigation was on the wrong direction. If you could send us a sample project, this would help us.

Thank you.
fama_0
Posts: 15
Joined: Mon Dec 06, 2010 3:24 pm

Image in report error

Post by fama_0 »

I will try to create a sample solution which demonstrates my issue, in the meantime though I have tried to create a new report from scratch and have been able to see some items in the Retrieve Columns list. My Lists though are not able to be added correctly. I am using a business object that has several normal types (strings, etc) and four Lists of various custom classes. By default, the normal variables are being displayed as part of the business object, but my lists are not being added. If I try to add them through the Retrieve columns I just get an entry with the right name, but I am unable to add it's children properties.

Here is an example of what my root business object looks like

Code: Select all

        public string Subtotal { get; set; }
        public string Discount { get; set; }
        public string Total { get; set; }
        public string Comment { get; set; }

        //inventory report items
        private List invReportItems = new List();
        public List InvReportItems
        {
            get
            {
                return this.invReportItems;
            }
            set
            {
                this.invReportItems = value;
            }
        }
Please let me know if you have any suggestions.

I am assuming that the previous reports from prior version of the controls are built slightly different and that is why my Retrieve Columns is not returning anything for those reports. I won't have time today to build the test solution, but maybe on Sunday or Monday I will.
fama_0
Posts: 15
Joined: Mon Dec 06, 2010 3:24 pm

Image in report error

Post by fama_0 »

Please disregard that about the lists. I had forgotten that I had to add those as children of business objects. Creating a new report with the properties should not be an issue since everything seems to be working now with the fresh start.

The old reports still do not allow me to add new business objects or retrieve columns though. I will try to compare the new one I make with the old one to see if there are any major differences.

Thanks
fama_0
Posts: 15
Joined: Mon Dec 06, 2010 3:24 pm

Image in report error

Post by fama_0 »

Adding children of business objects only seems to work at first. If I only add one or two of the lists and I save the report, then when I open it in the future it will not allow me to add any more children business objects (No dropdown available). I will try to figure out after what action it will no longer allow me to add children.

I'm also having another issue which I cannot figure out yet. I'm filling all my "Columns" with data, but when I render the report, the columns which appear in the report summary are appearing as null. But this does not happen until I add data in between with headers and groups. I will let you know if I find a way around this problem. Not sure if it's just with my data that it's occurring.

Edit: I have attached the old and the new reports that I have created. Neither is working perfectly, but the newer one at least allowed me to add the children Business objects at first. Once I have time I will attempt to recreate my issues in a simplified project and upload that in a new reply.
Attachments
893.OrdInvoiceReport.mrt
(38.78 KiB) Downloaded 263 times
892.OldOrdInvoiceReport.mrt
(37.91 KiB) Downloaded 421 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Image in report error

Post by Alex K. »

Hello,

We made some improvements in that direction.
Please check the new release in end of month when it will be available.
Also you should select the desired item in the tree data dictionary first, and then invoke the context menu.

Thank you.
Locked