Load a form from code behind in WebForms

Originally Posted 14 July 2015, 9:13 am EST

  • Originally Posted 14 July 2015, 9:13 am EST

    Hi there,

    I have managed to load my report, change its datasource and that of the sub reports, but how do i load the report into the viewer.

    There is no Document property, there is no RegisterDocument method, so how does this work, in this version?

    It's really hard to find the correct help for this, the forum always points to older ways of doing this.

    Anyway please help me.
  • Reply

    Got this sorted, was a problem in my Onload event, I was referencing the C1ReportViewer component, by doing

    C1ReportViewer1.RegisterDocument("projection", MakeDoc);

    instead of the namespace

    C1ReportViewer.RegisterDocument("projection", MakeDoc);

  • Reply


    It seems that your issue has been resolved.Thus, we are marking this case as closed.

    Please feel free to contact for any other queries in the future.

    Raunak Ladha
Need extra support?

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

Learn More

Forum Channels