Ticket T1285829
Visible to All Users

End user reporting - Use hardcoded connstring for Database connection that user cannot change

created 7 days ago

I have a database connection string in the backend that I want to force the user to use and not be able to change with any of the available buttons. Should not be able to switch to Excel or Entity for example. After that I have some columns in different tables I want to restrict them from having access to display on the report.

Answers approved by DevExpress Support

created 4 days ago

Hello Tobias,

You can use the XtraReport.FilterComponentProperties event to hide DataSource and DataMember properties. See: Hide Properties from the Report Designer.

Also, refer to this help topic for details on how to prevent data sources from being added and edited: EndUserReportDesigner: Disable adding of DataSources.

Regards,
Denis

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.