Bug in Properties / Datasource

Stimulsoft Reports.Silverlight discussion
Locked
flip
Posts: 23
Joined: Mon Dec 12, 2011 10:47 am

Bug in Properties / Datasource

Post by flip »

Hello,

I am trying to create a blank report in the silverlight designer (wcf).
I added my sqlconnection and datasource.
When I add a databand to my report, and click on the '...' button of the datasource in the properties window, I can select the table of my datasource. If i set the count to 8, and click ok. The count is set in the proeprties window, but the DataSource remains 'Not assigned'. If I redo the series of steps, but set the count on 0, then the datasource is assigned to the databand.

Btw, do you have a public issue/bug tracker?

Regards.
Attachments
1498.bug3-2.png
1498.bug3-2.png (270.29 KiB) Viewed 2098 times
1497.bug3-1.png
1497.bug3-1.png (275.29 KiB) Viewed 2103 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Bug in Properties / Datasource

Post by Alex K. »

Hello,

This is not a bug. When setting the Count property, the DataSource property for the data band should be disabled. To set the DataSource property set the Count property to 0.
We made some changes. Now if property Count set to a value other then 0 you can not change the DataSource property.

Thank you.
flip
Posts: 23
Joined: Mon Dec 12, 2011 10:47 am

Bug in Properties / Datasource

Post by flip »

Hello Aleksey,

Thanks for your reply.
Can you explain how to limit the results of a datasource?

Regards.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Bug in Properties / Datasource

Post by Alex K. »

Hello,

You can use filters or conditions for databand.
For example if you want show only fisrt 8 records, you can use the following conditions:
Line > 8
and set the ComponentIsEnabled set to false.
Also you can use filter in your query.

Thank you.
Locked