WebDesigner how to disable print button in view mode

Stimulsoft Reports.WEB discussion
Post Reply
Igor Gusak
Posts: 7
Joined: Wed Jun 02, 2010 8:31 am
Location: CzechRepublic

WebDesigner how to disable print button in view mode

Post by Igor Gusak »

Hi. How can I show/hide Print and Save buttons in WebDesigner in it preview mode.

Thanks.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

WebDesigner how to disable print button in view mode

Post by Andrew »

Hello Igor,

You can do it the following way:

Code: Select all

StiWebDesignerOptions.Viewer.Toolbar.ShowPrintButton=false;

Code: Select all

StiWebDesignerOptions.Viewer.Toolbar.ShowSaveButton=false;
Thank you.
Igor Gusak
Posts: 7
Joined: Wed Jun 02, 2010 8:31 am
Location: CzechRepublic

WebDesigner how to disable print button in view mode

Post by Igor Gusak »

Thank You. But I recived error "The type name Viewer does not exist in the type Stimulsoft.Report.Web.StiWebDesignerOptions "
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

WebDesigner how to disable print button in view mode

Post by Vladimir »

Hello, Igor

Please update to the latest prerelease build of our product, these options have appeared a few weeks ago.

Thank you.
Post Reply