Page 1 of 1

WebDesigner how to disable print button in view mode

Posted: Tue Aug 24, 2010 8:11 am
by Igor Gusak
Hi. How can I show/hide Print and Save buttons in WebDesigner in it preview mode.

Thanks.

WebDesigner how to disable print button in view mode

Posted: Tue Aug 24, 2010 8:45 am
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.

WebDesigner how to disable print button in view mode

Posted: Tue Aug 24, 2010 10:01 am
by Igor Gusak
Thank You. But I recived error "The type name Viewer does not exist in the type Stimulsoft.Report.Web.StiWebDesignerOptions "

WebDesigner how to disable print button in view mode

Posted: Wed Aug 25, 2010 12:42 am
by Vladimir
Hello, Igor

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

Thank you.