Checkboxes disappear when render TrueDBGrid

Posted by: jmpuga on 28 November 2017, 9:43 pm EST

    • Post Options:
    • Link

    Posted 28 November 2017, 9:43 pm EST

    Hi,

    We are using version 4.0.20163.226 of C1 Studio Winforms Edition.

    We have the TDBG shown in Pic1.

    Then, we render this TDBG to show a preview of it.

    The result, in which the checkboxes disappear, is shown in Pic2.

    We attach you the code in a ZIP.

    Why the checkboxes are not shown?

    How can we correct it?

    What can we do?

    Thanks in advance for your attention.

    codigo.zip

  • Posted 3 December 2017, 4:53 pm EST

    Hi!

    I tried to create a new application using your shared code for print-preview. But, due to some missing definitions, I am not able to run this successfully. So, I would need a stripped-down sample so that I can start the investigation at the earliest.

    Also, you can refer to the tutorial in ComponentOne Samples installed at the given location:

    \Documents\ComponentOne Samples\WinForms\C1TrueDBGrid\Tutorials\VB\Tutor15

    On using the same rendering method, it renders the grid with checkbox correctly.

    Regards,

    Meenakshi

  • Posted 5 December 2017, 3:04 am EST

    Hi!

    I send you a simple example, with the previous code, in which you can see the error in the preview: the boxes are not visible.

    Thanks!

    WindowsApplication4.zip

  • Posted 5 December 2017, 7:41 pm EST

    Hello!

    I can see the rendering problem with the shared sample.

    Though, I have reported this to the development team [Tracking Id : 299779]. And, I will inform you, once there is any update from them. But please note, C1Report/PrintDocument is in maintenance mode. See here : https://www.grapecity.com/en/forums/winforms-edition/c1report-in-maintenance-mo_1

    Regards,

    Meenakshi

  • Posted 5 December 2017, 11:13 pm EST

    Hi,

    [quote]But please note, C1Report/PrintDocument is in maintenance mode. See here : https://www.grapecity.com/en/forums/winforms-edition/c1report-in-maintenance-mo_1

    [/quote]

    Uuuuoh! We did not know this …

    We hope that the error will be considered “critical” and you give us a solution.

    Likewise, could we do the TDBG’s render with FlexReport?

    Thanks in advance.

  • Posted 7 December 2017, 2:49 pm EST

    Hi!

    There is no workaround to render TDB with FlexReport, as of now. However, I will update you once there is any information from the team, regarding the error while using PrintDocument.

    Regards,

    Meenakshi

  • Posted 11 December 2017, 11:03 pm EST

    Hi!

    [quote]There is no workaround to render TDB with FlexReport, as of now. However, I will update you once there is any information from the team, regarding the error while using PrintDocument.

    [/quote]

    Yes, it’s very important you notify me of a possible solution of the PrintDocument error, and more when there is no workaround to render TDB with FlexReport.

    Thanks!

  • Posted 13 December 2017, 7:30 pm EST

    Hi!

    I am in touch of the development team regarding this issue. And, I will come back to you once I hear something from them. Thanks for your patience.

    Best regards,

    Meenakshi

  • Posted 17 January 2018, 1:46 am EST

    Hi Meenakshi,

    A month ago of your last answer.

    Is there any new about the solution of the error?

    Thanks.

  • Posted 17 January 2018, 4:13 pm EST

    Hi Jose!

    The development team in working on this issue, internally. However, it has not been completely resolved yet.

    I’ll inform you once there is any update from them.

    Best regards,

    Meenakshi

  • Posted 4 February 2018, 3:34 pm EST

    Hello!

    As per the team,

    In this scenario, _C1Render object should have reference to the C1PrintDocument (_C1Doc). Instead of:

    Dim _C1Render As New C1.C1Preview.RenderC1Printable

    should be:

    Dim _C1Render As New C1.C1Preview.RenderC1Printable(_C1Doc)

    It is because table generated from this TrueDBGrid uses dictionary images, these images added to the Dictionary of _C1Doc in GenerateInnerReportObjects() method.

    Best regards,

    Meenakshi

  • Posted 5 February 2018, 11:17 pm EST

    Uuuooooohhh!!! :smiley: :smiley: :smiley:

    It works perfectly!!!

    Thank you very much for all your support.

    Bye!

Need extra support?

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

Learn More

Forum Channels