Skip to content

Can't use expression to hide a column or row in a tablix.  #21

@sa4git

Description

@sa4git

I can't use expression to hide a column or row from a Tablix. The moment I use expression the report generation fails with the following error, no matter whether it is a Parameter, Code.

An unexpected error occurred while compiling expressions. Native compiler return value: ‘[BC30390] 'AspNetCore.ReportingServices.RdlExpressions.ExpressionHostObjectModel.DataRegionExprHost(Of TMemberType, TCellType).m_memberTreeHostsRemotable' is not accessible in this context because it is 'Friend'.’.

I have tried to use this by right clicking Column Header => Column Visibility => Show or hide based on an expression.
As soon as I use expression, it breaks. If I use the default property Show or Hide it works fine.

I have seen many other people facing this problem without any solution or work around. Please can someone help me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions