Text component - Alias property

Stimulsoft Reports.NET discussion
Post Reply
jmhb
Posts: 10
Joined: Fri Sep 04, 2009 7:35 am
Location: Germany

Text component - Alias property

Post by jmhb »

Hello,

in the description of the alias property from the text component is stated that it "gets or sets a text that will be shown instead of a component name".
If I provide a value for the alias and do an export (for example csv or xml), the alias will not be considered at all. Instead the component name will
be used (for example "text1"). Is there a way to take the alias's value into account?

Best regards
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Text component - Alias property

Post by Jan »

Hello,

You want to take in considaration Alias instead Name during export to csv or xml? Right?

Thank you.
jmhb
Posts: 10
Joined: Fri Sep 04, 2009 7:35 am
Location: Germany

Text component - Alias property

Post by jmhb »

Jan wrote:Hello,

You want to take in considaration Alias instead Name during export to csv or xml? Right?

Thank you.
Hello,
That's exactly what I want!
Thank you
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Text component - Alias property

Post by Ivan »

Hello,

We added new static options for using aliases in exports to Csv/Dbf/Xml.
Now you can use following code, for example:

Code: Select all

StiOptions.Export.Csv.UseAliases = true;
StiOptions.Export.Dbf.UseAliases = true;
StiOptions.Export.Xml.UseAliases = true;
Patch will be available in next prerelease build from 21-Sep-2009.

Thank you.
jmhb
Posts: 10
Joined: Fri Sep 04, 2009 7:35 am
Location: Germany

Text component - Alias property

Post by jmhb »

Hello,

thank you very much for the fast response and solution!

Best regards
Post Reply