Properties of Business Object are mess

Stimulsoft Reports.Silverlight discussion
Lex Lavnikov
Posts: 34
Joined: Tue Nov 08, 2011 9:34 am
Location: Frankfurt

Properties of Business Object are mess

Post by Lex Lavnikov »

I have just downloaded SL_2011.11.10_Trial version of Stimulsoft reports.

The WinForms Designer from Silverlight_2011.2_Trial version was importing business objects (Get Columns From Assembly) properly, but very inconvenient because you had to click every property on the tree.

In SL_2011.11.10_Trial designer automatically selects all nested nodes, however the result is a flat list of all properties of all business objects. So basically this feature is now useless.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Properties of Business Object are mess

Post by Alex K. »

Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details (with screenshots if possible)?

Thank you.
RichFinnegan
Posts: 23
Joined: Fri Sep 23, 2011 4:43 am
Location: Germany

Properties of Business Object are mess

Post by RichFinnegan »

Hi, here is what Aladdin means.
Image1.jpg is the result with 2011.2 Version of Stimulsoft Winforms Designer.
Image2.jpg is the result with the newest patch/update from SL_2011.11.10.

As you can see it is one big list of properties, not split up into classes.

Hope this helps.
Attachments
1420.Image2.jpg
1420.Image2.jpg (88.58 KiB) Viewed 4599 times
1419.Image1.jpg
1419.Image1.jpg (115.09 KiB) Viewed 4600 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Properties of Business Object are mess

Post by Alex K. »

Hello,

Please send us a sample project (your bussines object) for analysis.

Thank you.
RichFinnegan
Posts: 23
Joined: Fri Sep 23, 2011 4:43 am
Location: Germany

Properties of Business Object are mess

Post by RichFinnegan »

Hi Aleksey,

here is a dll. The relevant Namespaces are Nitro.Entities and Nitro.Products.

Thanks.
Attachments

[The extension dll has been deactivated and can no longer be displayed.]

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

Properties of Business Object are mess

Post by Andrew »

Hello,

On the current moment the logic of such a method GetColumnsFromAssembly is like this:
All selected properties are placed on the current level of business objects.
Other behavior is not implemented.

We will discuss your proposal with our team-leader.

Thank you.
RichFinnegan
Posts: 23
Joined: Fri Sep 23, 2011 4:43 am
Location: Germany

Properties of Business Object are mess

Post by RichFinnegan »

Hi Andrew,

Thanks for the answer, but has something changed between the current version and SL.2011.2 release? As far as I'm aware my colleague clicked on all nodes one after the other and it was read in properly with the properties divided up into their respective classes.

Thanks.
RichFinnegan
Posts: 23
Joined: Fri Sep 23, 2011 4:43 am
Location: Germany

Properties of Business Object are mess

Post by RichFinnegan »

Just noticed one other thing. If you read in a class with complex properties from a BO then everything is shown including the sub properties. Object type is taken from the BO.
If you save the report and then close the report (not designer) and then reopen the report then everything is still there. If you save the report, close the designer and then
reopen the report, the complex properties in the BO class are turned into basic object types and the sub properties are gone! The sub properties are not saved to the Mrt file.
Attachments
1428.ObjectAfterDesignerRestart.jpg
1428.ObjectAfterDesignerRestart.jpg (50.8 KiB) Viewed 4525 times
1427.ObjectBeforeRestart.jpg
1427.ObjectBeforeRestart.jpg (78.85 KiB) Viewed 4526 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Properties of Business Object are mess

Post by HighAley »

Hello.
RichFinnegan wrote:Just noticed one other thing. If you read in a class with complex properties from a BO then everything is shown including the sub properties. Object type is taken from the BO.
If you save the report and then close the report (not designer) and then reopen the report then everything is still there. If you save the report, close the designer and then
reopen the report, the complex properties in the BO class are turned into basic object types and the sub properties are gone! The sub properties are not saved to the Mrt file.
All structure of the business objects doesn't save in the report template file. You should load BO once again.
RichFinnegan wrote:here is a dll. The relevant Namespaces are Nitro.Entities and Nitro.Products.
Please, send us dll with BO for Silverlight.

Thank you.
RichFinnegan
Posts: 23
Joined: Fri Sep 23, 2011 4:43 am
Location: Germany

Properties of Business Object are mess

Post by RichFinnegan »

Hi,

we use the full designer from Silverlight reports not the native designer. We now want to render the report on the server and send the result to the Silverlight client. You
can use the Nitro.Services.dll that I uploaded before.

Thanks.
Locked