Adding new menu item to Designer Menu
Hello,
I can save report designs to database via OpenSaveDialogEventHandler but I also want to save a design to the disk.
So I add a new item to main menu by below command.
((sender as DesignerControl).MainMenu.miFile.SubItems.Add(newitem, 5)[img]style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> I want to use default save method on click event of new item or It is useful that adding new menu item to report designer and save report design to database via this button. Is it possible? Thanks in advance.[/img]
I can save report designs to database via OpenSaveDialogEventHandler but I also want to save a design to the disk.
So I add a new item to main menu by below command.
((sender as DesignerControl).MainMenu.miFile.SubItems.Add(newitem, 5)[img]style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> I want to use default save method on click event of new item or It is useful that adding new menu item to report designer and save report design to database via this button. Is it possible? Thanks in advance.[/img]
Comments
When you attach own Open/Save events, there is no ability to call the default "save" method. You have to write own code to do this.