Turn off Dictionary Use Aliases

Stimulsoft Reports.NET discussion
Post Reply
lcruiser
Posts: 58
Joined: Mon Jul 31, 2006 1:07 am

Turn off Dictionary Use Aliases

Post by lcruiser »

Hi,

Is it possible to turn off Dictionary Use Aliases by code? If yes, how?

Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Turn off Dictionary Use Aliases

Post by Edward »

Hi,

There is a property for the StiDesignerControl:

UseAlias

By setting this property in false you disable aliases in the Dictionary.

In a very beginning of your program you can write the following code:

Code: Select all

       StiSettings.Load();
        StiSettings.Set("StiDesigner", "UseAliases", false);
        StiSettings.Save();

Thank you.
lcruiser
Posts: 58
Joined: Mon Jul 31, 2006 1:07 am

Turn off Dictionary Use Aliases

Post by lcruiser »

It works perfectly.

Thanks for your help and a fast response.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Turn off Dictionary Use Aliases

Post by Edward »

Hi

You are welcome, please let us know if you need any help.

Thank you.
Post Reply