Hello,
In Stimulsoft.Reports.Web .NET Core, I register my data with the report.RegBusinessObject method. There is a property of enumeration type in my business object. I would like to get the value of the DisplayAttribute instead of the enum value. What's is the best way to do it (without modifying my business object) ?
Cordially,
Stéphane.
DisplayAttribute of an enum value
-
- Posts: 6247
- Joined: Tue Mar 20, 2018 5:34 am
Re: DisplayAttribute of an enum value
Hello,
Please send us a sample project for analysis. We will try to find a solution.
Thank you.
Please send us a sample project for analysis. We will try to find a solution.
Thank you.
Re: DisplayAttribute of an enum value
Here is a sample project in attachment. Without modifying my business object, I would like to show the display attributes ("En cours" and "Annulé") instead of the enum values (Pending, Closed).
- Attachments
-
- WebApplication1.zip
- (18.19 KiB) Downloaded 125 times
-
- Posts: 6247
- Joined: Tue Mar 20, 2018 5:34 am
Re: DisplayAttribute of an enum value
Hello,
Unfortunately, not possible. You can add an additional column for display value and show it in the report.
Thank you.
Unfortunately, not possible. You can add an additional column for display value and show it in the report.
Thank you.