Is there a way in which a report can be defined and rendered in the report viewer entirely in code - i.e. wihtout any .igr file?
Thanks
Andrew
Hello Andrew,
Thank you for your post. I have been looking into it and I can say that without creating a Report file( .igr file) you cannot visualize data in the XamReportViewr. Here you can read more about how to integrate Reports into applications:
http://help.infragistics.com/NetAdvantage/reporting/2011.2/CLR4.0?page=How_to_Integrate_Reports_Into_Applications.html
Hope this helps you.
Thanks for the reply.
Is it possible to have say a single column defined in the .gr file and add columns, groupings, totals etc. at run time?
If so do you have any examples?
I have been looking into your requirement and I can say that once you create the .igr file you are not able to modify it during run time, but you can create a couple of Report files an set the as DataSource to the xamReportViewer. Also you can make your query that gets the information to have a parameter and set it run time. Here you can read more about it:
http://help.infragistics.com/Help/NetAdvantage/Reporting/2011.2/CLR4.0/html/How_to_Configure_a_Query_Using_Report_Parameters.html