The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxDashboard.AllowExecutingCustomSql Property

Gets or sets whether to executes SQL queries on the server side.

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v19.2.Web.WebForms.dll


public bool AllowExecutingCustomSql { get; set; }
Public Property AllowExecutingCustomSql As Boolean

Property Value

Type Default Description


true, to allow executing SQL queries on the server side; otherwise, false.


Execution of custom SQL queries is forbidden by default. If you allow executing custom SQL queries, you can use the EnableCustomSql property to enable a user to specify a custom SQL string in the Data Source wizard.


The use of custom SQL queries can lead to inadvertent or unauthorized modifications to your data/database structure. Therefore, make sure that you follow best practices and implement the appropriate end-user read/write privileges at the database level.

See Custom SQL Queries for more information.

See Also