Skip to content

Instantly share code, notes, and snippets.

@sAbakumoff
Created October 16, 2012 01:41
Show Gist options
  • Save sAbakumoff/3896819 to your computer and use it in GitHub Desktop.
Save sAbakumoff/3896819 to your computer and use it in GitHub Desktop.
private void view_Click(object sender, EventArgs e)
{
var rpt = (GrapeCity.ActiveReports.PageReport)designer1.Report;
rpt.ConfigurationProvider = new DefaultConfigurationProvider();
var pageDocument = new GrapeCity.ActiveReports.Document.PageDocument(rpt);
this.viewer1.LoadDocument(pageDocument);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment