Ivan Zlatev
05.04.2012
I am trialing the reports product, so I was playing around with scripts to find a way to populate my object based data source at design time for the preview to work, so I had this script for BeforePaint. Probably the using is incorrect and is tripping over the whole things - don't know.
using SomeNamespace;
private void IncomeFromSingleCustomerReport_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {
XtraReport report = sender as XtraReport;
}
Ivan,
Thank you for your quick response. I have tested your sample code snippet in the Report Designer in Visual Studio 2010, but I didn't notice a similar problem. It looks like it was an isolated case. Please feel free to update this ticket if you experience the same problem. We will check for a permanent solution.
Thanks,
Alex
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+