Hi,
Whenever i going to add reportsource for the subreport it gives me error of "Object reference not set to instance of a object"
what could be the problem please let me know.
Thanks.
Manoj Gupta
1 Answer, 1 is accepted
0
Steve
Telerik team
answered on 11 Jul 2011, 09:34 AM
Hi Manoj,
This error means that there is a problem with the report you are trying to assign. Run it in preview to see the problem or assign it programmatically for a full stack trace that would point you to the problem e.g.
protectedvoidPage_Load(objectsender, EventArgs e)
{
if(!IsPostBack)
{
Report1 report1 = newReport1();
ReportViewer1.Report = report1;
}
}
Best wishes,
Steve
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!