Gantt Print Options

Posted by: john.morrelles on 2 April 2021, 3:14 am EST

  • Posted 2 April 2021, 3:14 am EST

    Is there a way to access and customize the print preview application?

    More likely the path to customizing that experience will come from using some combination of the other C1 components, like the C1PrintPreviewControl. How do I pipe the Gantt print/preview output over to the other controls?
  • Replied 4 April 2021, 11:56 pm EST

    Hello,

    Sorry, but it is not possible to access and customize the print preview diaslog of GanttView.

    But if you want to apply custom styles to your printed document then you can check the product sample "PrintingSample" demonstrating the same.

    Regards,
    Prabhat Sharma.
  • Replied 5 April 2021, 12:31 am EST

    What I want to do is turn off the option to apply custom styles in the preview dialog.
  • Replied 5 April 2021, 7:45 pm EST

    Hello,

    Sorry, but as we said in our last post that it is not possible to access and customize the print preview dialog of GanttView so it is not possible to turn off the option to apply custom styles in the preview dialog.

    If you want you can add your own ToolStripButton in the GanttView ToolStrip and perform the Printing by your specific setting using the PrintInfo property of GanttView.


    Regards,
    Prabhat Sharma.
  • Replied 5 April 2021, 11:28 pm EST

    Yes, I'm already down the path to override the default print dialogs. The remaining problem is that if the user doesn't proceed directly to print, the preview window has a toolbar with the option to apply a custom style. To clarify, it's in that preview window I was looking for an option to override the built-in print preview.
  • Replied 6 April 2021, 11:05 pm EST

    Hi John,


    As you said in your last post that "the preview window has a toolbar with the option to apply a custom style.", please confirm that you are talking about the option which is shown in the attached screenshot. If there is any other option that you are talking about then please share the screenshot for the same.

    If you want to customize the option which is shown in the screenshot then it is not possible as of now but please confirm the above information so that we can escalate it to the developers and ask them if it can be achieved.

    Regards,
    Prabhat Sharma.
  • Replied 6 April 2021, 11:59 pm EST

    I'm talking about the preview window itself. I don't want the Open button on this window.
  • Replied 8 April 2021, 7:57 pm EST

    Hello John,

    We have escalated your issue to the developers and will let you know as soon as we get any update on this from the developers' end.
    [Internal Tracking Id: 24712]

    Regards,
    Prabhat Sharma.
  • Replied 13 April 2021, 7:08 am EST

    Another note about this issue: the reason I'm trying to lock it out is in part because when loading a custom style, picking a file that isn't a custom style file causes the entire application to crash. I expect a simple message that the file isn't a compatible or valid style file rather than a full crash.
  • Replied 15 April 2021, 9:15 pm EST

    Hi John,

    Thank you for the additional information.
    We will forward it to the developers.

    Regards,
    Prabhat Sharma.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels