Remove Functionality

Stimulsoft Reports.NET discussion
Post Reply
LRCtil
Posts: 9
Joined: Tue Jan 17, 2012 9:16 am

Remove Functionality

Post by LRCtil »

I need to remove the option to add 'New Data Source'

when the User clicks the right button of the mouse in the Dictionary should not appear the New Data Source option.

What is the name of the property?

thank you!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Remove Functionality

Post by HighAley »

Hello.
LRCtil wrote:I need to remove the option to add 'New Data Source'

when the User clicks the right button of the mouse in the Dictionary should not appear the New Data Source option.

What is the name of the property?
You should set this static property:

Code: Select all

StiOptions.Designer.Panels.Dictionary.ShowDataSourceNewMenuItem = false;
Thank you.
LRCtil
Posts: 9
Joined: Tue Jan 17, 2012 9:16 am

Remove Functionality

Post by LRCtil »

This code don't work.

Maybe you have not understood.
I need to remove the item "New Data Source" that were selected in this image

With this code you went there was no change.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Remove Functionality

Post by HighAley »

Hello.
LRCtil wrote:This code don't work.

Maybe you have not understood.
I need to remove the item "New Data Source" that were selected in this image

With this code you went there was no change.
I understood your right. Please, look at an attached report.

Thank you.
Attachments
1587.WindowsApplication10.zip
(12.75 KiB) Downloaded 134 times
LRCtil
Posts: 9
Joined: Tue Jan 17, 2012 9:16 am

Remove Functionality

Post by LRCtil »

The problem is that we do not do it this way.
The report should open in the same window, and not in another window.
Please, look at an attached report.

Thank you.
Attachments
1588.Stimulsoft - Example.zip
(528.91 KiB) Downloaded 173 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Remove Functionality

Post by HighAley »

Hello.

If you use StiDesignerControl you should set these properties before InitializeComponent() method.
Look at the attached project.

Thank you.
Attachments
1594.WindowsApplication10.zip
(12.86 KiB) Downloaded 136 times
LRCtil
Posts: 9
Joined: Tue Jan 17, 2012 9:16 am

Remove Functionality

Post by LRCtil »

thank you very much person .. you do not know how I helped .. :biggrin:
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Remove Functionality

Post by Andrew »

Hello.

We are always happy to help you.

Thank you.
Post Reply