How to hide a property of a business object?

Stimulsoft Reports.NET discussion
Post Reply
casic
Posts: 68
Joined: Thu Jan 18, 2007 4:25 pm
Location: Germany

How to hide a property of a business object?

Post by casic »

Hi there,

I tried to hide a property of a business object in the dictionary, because this property has been marked obsolete. The report should work with this property but in the designer the property should not be visible/selectable. I tried

Code: Select all

_stiReport.Dictionary.Restrictions.Add(businessObject.Name + "." + propertyInfo.Name, StiDataType.DataColumn, StiRestrictionTypes.DenyShow)
_stiReport.Dictionary.Restrictions.Add(propertyInfo.Name, StiDataType.DataColumn, StiRestrictionTypes.DenyShow)
but with no success. Is it actually possible to hide properties of business objects?

Thank you,

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

Re: How to hide a property of a business object?

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please checkthe business objects name in your code.

Thank you.
Attachments
BO.PNG
BO.PNG (57.75 KiB) Viewed 949 times
Post Reply