How do I remove buttons from the toolbar in the report designer?

Expand / Collapse
 

How do I remove buttons from the toolbar in the report designer?


The toolbar is a collection of items, any of which be removed. Goto the root directory in which Izenda Reports is installed. There will be a file in that directory named "ReportDesigner.aspx.cs". Open this file with a text editor. In your "ReportDesigner.aspx.cs" page, look for this "OnInit" method and place the following code inside.

override protected void OnInit(EventArgs e) 
{
InitializeComponent();
base.OnInit(e);

//remove report list button
queryBuilder.Toolbar.Items.Remove("ReportListButton");

//remove save button
queryBuilder.Toolbar.Items.Remove("SaveButton");

//remove save as button
queryBuilder.Toolbar.Items.Remove("SaveAsButtonButton");
}


Details
Type: FAQ
Options