Page 1 of 1

Disable new data source in DataBandEditor in report designer

Posted: Wed Feb 27, 2013 10:18 am
by lucia_mgv
Hi,

I have a report designer and in the dictionary panel I have disabled the DataSource and DataRelation options, since I don't want the user to be able to modify the data sources or the relations of the report.

But when the user creates a new DataBand, in the DataBandEditor appears the option of create a new data source and a new relation. I was wondering how I could disable those options.

Thanks for your help,

Lucía Morales

P.D.: I attach two images where you can see the option I want to disable.
Dibujo.jpg
Dibujo.jpg (32.28 KiB) Viewed 2076 times
Dibujo2.jpg
Dibujo2.jpg (26.16 KiB) Viewed 2076 times

Re: Disable new data source in DataBandEditor in report desi

Posted: Thu Feb 28, 2013 11:09 am
by HighAley
Hello.

We have made an improvement. These buttons will be disabled too. Please, check our next prerelease build.

Thank you.

Re: Disable new data source in DataBandEditor in report desi

Posted: Mon Mar 25, 2013 9:32 am
by lucia_mgv
Hello,

I have downloaded the last prerelease build and I have check the list of changes and I couldn't find the properties to disable those options. Could you explain me how to do it.

Thank you,

Lucía Morales

Re: Disable new data source in DataBandEditor in report desi

Posted: Tue Mar 26, 2013 11:48 am
by HighAley
Hello.

There are no new options. You should just set next old static options:

Code: Select all

StiOptions.Designer.Panels.Dictionary.ShowRelationNewMenuItem = false;
StiOptions.Designer.Panels.Dictionary.ShowDataSourceNewMenuItem = false;
Thank you.