How to hide toolbar in web-reports

2017-03-16

By default, web - reports have the toolbar above them in case to control the report display:

 

In the object properties of “WebReport” you can control this toolbar, add and remove elements, change the layout and style.

 

For example, to display the toolbar at the bottom of the report window, use the “ShowBottomToolbar” property.

If you want to hide the toolbar use the “ShowToolbar” property. You can also remove the rest of the elements of control: buttons of moving through the report pages, export and printing.

There are two panel styles (ToolbarStyle) - Large and Small. It is also possible to choose from five sets of icons. And, of course, you can choose any color for the toolbar background.

For  example  :

 

If you do not like the standard panel, you can make your own one.

Let us place the component “Panel” under “WebReport1”. Add a button to the panel:


Сall the button “Show / Hide toolbar”. Double-click the button. The button will hide or show the toolbar, so the click event code will be following:

1
WebReport1.ShowToolbar = false;

 The result of the button clicking:

 

Now add other buttons that will have some functions of the toolbar buttons:

 

For the button “Prev.” add the code:

1
WebReport1.PrevPage();

For the button “Next” - similarly:

1
WebReport1.NextPage();

And for export to PDF:

1
WebReport1.ExportPdf();

Check the added buttons.

Report pages are switched:

 

By clicking on “ExportPDF” the save file dialog box appears.

The article provides support for creating a custom toolbar similar to the existing one. The toolbar will not be attached to the window of the report and it can be designed according to your taste.

.NET .NET FastReport FastReport ASP.NET ASP.NET WebReport WebReport Designer Designer Customization Customization
27 de novembro de 2026

Como usar o Data Dictionary no FastReport .NET

Descubra o Data Dictionary no FastReport .NET: uma ferramenta para o gerenciamento estruturado dos dados de relatórios. Aprenda a criar, salvar e mesclar dicionários pela interface do usuário, além de gerenciá-los programaticamente com os métodos Load, Save e Merge. Inclui um exemplo passo a passo e exemplos de código em C#.
26 de novembro de 2026

Geração de um código de barras PDF417 no FastReport .NET e FastReport VCL

Saiba como gerar um código de barras PDF417 no FastReport .NET e VCL: especificação ISO/IEC 15438, configuração no designer e exemplos em C# e Delphi.
10 de novembro de 2026

Como adicionar seu próprio componente ao FastReport Online Designer

Aprenda a adicionar um componente personalizado ao FastReport Online Designer: crie um plug-in em JavaScript com uma visualização e uma caixa de diálogo de configurações e, em seguida, conecte a classe .NET do lado do servidor.

© 1998-2026 Fast Reports Inc.