Page 1 of 1

Problem inserting fields into expressions using aliases

Posted: Mon Dec 22, 2025 3:39 pm
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

Re: Problem inserting fields into expressions using aliases

Posted: Tue Dec 23, 2025 6:27 am
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.

Re: Problem inserting fields into expressions using aliases

Posted: Tue Dec 23, 2025 8:59 am
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.

Re: Problem inserting fields into expressions using aliases

Posted: Tue Dec 23, 2025 1:48 pm
by Max Shamanov
Hello,

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

Thank you.