I have created an ObjectDataSource for my report and I can drag the properties of the object inside a list on my reportdesign. Nice.... However, whenever I drag a second property inside the list on the same report and try to compile, I get the following error:
More than one data set, data region, or grouping in the report has the name ‘RZ_Agora_MarketInformation_Win32UI_Registration_MarketSegmentReport’. Data set, data region, and grouping names must be unique within a report. C:\agora\RZ.Agora.MarketInformation\Win32UI\Registration\PrintFormRecordingPerMarketSegment.rdlc RZ.Agora.MarketInformation
After, if I look into the DataSetName property of the list, I can select from two instances of the same dataset
There is a workaround, and that is by adding an empty editbox to the report and type the expression manually. It seems that the drag& drop event does some unwanted extra things.
Am I doing something wrong here or is this a bug
Another question: How can I tell the report that the ObjectDataSource has changed. If I add a property to my object and refresh the objectdatasource I do see the new property in the objectdatasource, but when I add this new property to the report I get the followoing compile error: (Id is the new property here)
The Value expression for the textbox ‘textbox1’ refers to the field ‘Id’. Report item expressions can only refer to fields within the current data set scope or, if inside an aggregate, the specified data set scope. C:\agora\RZ.Agora.MarketInformation\Win32UI\Registration\PrintFormRecordingPerMarketSegment.rdlc RZ.Agora.MarketInformation
Is there any way to handle datasets inside a report manually (Using VS 2005 Standard Edition)
.NET Development4
|