Page 1 of 1
Control Page Creation/Removal/Name in Designer
Posted: Sat Sep 26, 2009 2:47 pm
by ReinholdM
Hello,
we need to limit the number of pages per report a user can create in the designer. Furthermore we'd like to control the naming of newly created pages.
Is this possible? What would be the best way? (Event BeforePageCreation? Properties Min/MaxPages? CustomComponent?)
Thanks in advance!
Reinhold
Control Page Creation/Removal/Name in Designer
Posted: Mon Sep 28, 2009 2:44 am
by Andrew
Hello,
Unfortunately, it is impossible to limit the number of pages in the designer. It is only possible to limit the number of rendered pages.
Thank you.
Control Page Creation/Removal/Name in Designer
Posted: Mon Sep 28, 2009 12:20 pm
by ReinholdM
Is it possible to disable all page-functions (add, duplicate, remove, page setup) and insert a custom dialog to the toolbar/menu (like "PagesManager") which adds, removes and renames pages?
Thank you!
Control Page Creation/Removal/Name in Designer
Posted: Tue Sep 29, 2009 1:00 am
by Jan
Hello,
Something like this:
Code: Select all
Stimulsoft.Report.Design.Toolbars.StiStandardToolbarService service = Stimulsoft.Report.Design.Toolbars.StiStandardToolbarService.GetService();
service.ShowPageNew = false;
service.ShowPageDelete = false;
service.ShowPageSetup = false;
service.ShowFormNew = false;
service.AddToolButton("test", delegate{MessageBox.Show("Test");});
Thank you.