How to Restrict DataSource and Dataset edit option in Report Designer
To restrict the DataSource and Dataset edit options in the Bold Reports® ASP.NET Web Forms Report Designer, use the permissionSettings property. For more details, see the PermissionSettings property.
The following code example demonstrates how to Restrict DataSource and Dataset edit option in Report Designer in your application’s Page_Load() function.
protected void Page_Load(object sender, EventArgs e)
{
this.designer.PermissionSettings = new BoldReports.Models.ReportDesigner.PermissionSettings();
this.designer.PermissionSettings.DataSet= ~BoldReports.ReportDesignerEnums.Permission.All;
this.designer.PermissionSettings.DataSource = ~BoldReports.ReportDesignerEnums.Permission.All;
}