Hello,
I had used reportviewer to show report of customers related to city selected from dropdownlist.
Now if i select one city which contains total 5 pages of records.
then i go to the 5th page of report viewer.
Now, i select another city which contains only 2 pages of records to be shown on reportviewer.
As i was on 5th page of reportviewer, it does not get changed to first or default page index on
Button_click when i change the city.
Thus, it results into error.
Error : Unspecified error while processing the report request.
I cant specify the datasource as i had created report through Wizard.
I also tried,
ReportViewer1.Report = new MyReport()
-- here i don't know what to specify in MyReport()
But, it didn't work for me.
Please elaborate me how to solve the problem as soon as possible.
Regards,
Jaspreet
I had used reportviewer to show report of customers related to city selected from dropdownlist.
Now if i select one city which contains total 5 pages of records.
then i go to the 5th page of report viewer.
Now, i select another city which contains only 2 pages of records to be shown on reportviewer.
As i was on 5th page of reportviewer, it does not get changed to first or default page index on
Button_click when i change the city.
Thus, it results into error.
Error : Unspecified error while processing the report request.
I cant specify the datasource as i had created report through Wizard.
I also tried,
ReportViewer1.Report = new MyReport()
-- here i don't know what to specify in MyReport()
But, it didn't work for me.
Please elaborate me how to solve the problem as soon as possible.
Regards,
Jaspreet