Problem inserting fields into expressions using aliases

Stimulsoft Reports.BLAZOR discussion
Post Reply
marco.baccianti
Posts: 2
Joined: Mon Dec 22, 2025 3:05 pm

Problem inserting fields into expressions using aliases

Post by marco.baccianti »

When using the report editor, I'm having a problem when "displaying aliases" is enabled.

I should point out that I only use "Business Objects" as sources, derived from classes whose properties are decorated with the "DisplayName" attribute.

The objects are displayed correctly using aliases set with the DisplayName, but when used to build expressions or insert fields into the report, the system uses the alias instead of the field name, resulting in an error.

The version currently used for the report editor is the latest available: Stimulsoft.reports.Blazor 2026.1.1

Regards
Max Shamanov
Posts: 1072
Joined: Tue Sep 07, 2021 10:11 am

Re: Problem inserting fields into expressions using aliases

Post by Max Shamanov »

Hello,

Please check the following link to our documentation:
https://www.stimulsoft.com/en/documenta ... ssions.htm

If this doesn't help, please send us a sample project that reproduces the issue.

Thank you.
marco.baccianti
Posts: 2
Joined: Mon Dec 22, 2025 3:05 pm

Re: Problem inserting fields into expressions using aliases

Post by marco.baccianti »

Hello,

Manually editing expressions obviously works, but the problem is that when we drag and drop from the dictionary, the system inserts the expression with the incorrect syntax, making it necessary to manually edit it each time.

I've attached an example screenshot to highlight the problem.

Thank you.
Attachments
Immagine.jpg
Immagine.jpg (207.58 KiB) Viewed 61 times
Max Shamanov
Posts: 1072
Joined: Tue Sep 07, 2021 10:11 am

Re: Problem inserting fields into expressions using aliases

Post by Max Shamanov »

Hello,

Please send the sample project that allows us to reproduce the issue for analysis at support@stimulsoft.com

Thank you.
Post Reply