reportviewercore icon indicating copy to clipboard operation
reportviewercore copied to clipboard

#Error when evaluating the Generic List property of Dataset

Open KMalaimegam opened this issue 3 years ago • 7 comments

MultipleChoiceList is List property

Dataset

image

Expression

image

The report generates #Error only for a particular field

Also added [Serializable] for the model MultipleChoiceList

KMalaimegam avatar Aug 11 '22 01:08 KMalaimegam

image

KMalaimegam avatar Aug 11 '22 01:08 KMalaimegam

Please provide a sample project based on ReportViewerCore.Sample.WinForms from this repo reproducing the behavior.

lkosson avatar Aug 11 '22 04:08 lkosson

is it the right way to read the list object in Core?

=Fields!MultipleChoiceList.Value(0).DropdownItemText

same code working fine in .NET 4.5

KMalaimegam avatar Aug 11 '22 04:08 KMalaimegam

No idea, but if it works in original RV, it should work here too.

lkosson avatar Aug 11 '22 04:08 lkosson

Complex expressions in Visual Basic do not work in .net core on linux https://github.com/lkosson/reportviewercore/issues/101

On 11.08.2022 7:44, Łukasz Kosson wrote:

No idea, but if it works in original RV, it should work here too.

— Reply to this email directly, view it on GitHub https://github.com/lkosson/reportviewercore/issues/102#issuecomment-1211549197, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGHAA2TYYB2J7MN6UKRNQL3VYSAMVANCNFSM56GPJ32Q. You are receiving this because you are subscribed to this thread.Message ID: @.***>

g136660 avatar Aug 11 '22 04:08 g136660

This issue seems unrelated to #101. As far as I can tell, custom code and expressions work mostly fine on Linux.

lkosson avatar Aug 11 '22 06:08 lkosson

I am using windows. VS2022 .NET 6

KMalaimegam avatar Aug 11 '22 07:08 KMalaimegam