C1FlexReport, fail to render CheckBoxFields

Posted by: mkadoussi on 28 September 2020, 1:53 am EST

  • Posted 28 September 2020, 1:53 am EST

    Hello,

    I have a strange error when generating reports that contain a column where a checkbox should be displayed.

    On some machines, it throws the following exception :

    Error :

    Message = Messages: Exception during deserialize [#document/Reports/Report/Fields/CheckBoxField] node, error:

    The type initializer for ‘C1.WPF.FlexReport.CheckBoxField’ threw an exception. at …

    Could you please tell me whats wrong there?

    This is how the checkbox section look like in the .flxr

          <CheckBoxField>
            <Name>SomeName</Name>
            <Section>Detail</Section>
            <Left>13850</Left>
            <Top>460</Top>
            <Width>291</Width>
            <Height>210</Height>
            <Value>
              <Expression>SomeNameReference</Expression>
            </Value>
            <CheckMark>
              <Font>
                <Name>Wingdings</Name>
                <Size>8.25</Size>
              </Font>
            </CheckMark>
          </CheckBoxField>
    

    Cordially

  • Posted 28 September 2020, 2:50 am EST

    I’m using version 4.5.20201.697

  • Posted 29 September 2020, 6:50 pm EST

    Hi,

    Can you please share a simple project and the report which replicates the issue at your end? This would help me in assisting you further at the earliest.

    Thanks,

    Pragati

  • Posted 29 September 2020, 7:47 pm EST

    Hello,

    this is actually the issue

    i can’t replicate it,

    it just happens on some machines where the report is generated.

  • Posted 30 September 2020, 9:32 pm EST

    Hello,

    I know but Can you share the stripped down sample (in which issue occur on some machines)so that I can check on two-three environment. It is very helpful for us to narrow down the issue.

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels