Customizing the New RibbonBar Control in the designer
Posted: Mon Oct 06, 2008 12:32 pm
I have not seen anyone else addressing this. Maybe I'm just too bleeding edge. However, I need to remove some of the document management features (Save As, New, Load) from the Main Menu of the designer. I have the following code plugged in and it seems to do nothing. Is there a new "StiRibbonService" or something similar that I'm not seeing?
I am using version 2008.2.281.0
Thanks,
John Hamilton
POSitive Software Company
http://www.gopositive.com
Code: Select all
MainMenu = StiMainMenuService.GetService();
MainMenu.ServiceEnabled = false;
MainMenu.ShowFilePageSaveAs = false;
MainMenu.ShowFileReportSaveAs = false;
//Start Designer
DesignReport = new StiReport();
DesignReport.Design(true);
Thanks,
John Hamilton
POSitive Software Company
http://www.gopositive.com