Here's a simple solution.
If the ReportDocument loading codes are placed in the Page_Load event of the page...
protected void Page_Load(object sender, EventArgs e)
{
.
.
.
ReportViewer.ReportSource = reportDocument;
}
...create a new Page_Init event and move the codes there.
protected void Page_Init(object sender, EventArgs e)
{
.
.
.
ReportViewer.ReportSource = reportDocument;
}
Now the paging will work as intended.
-elyk
Great article, Thanks for your nice knowledge, the content is quiet attention-grabbing. i will be expecting your next post.
ReplyDelete
ReplyDeleteThank Mridha ITyou, I’ve just been searching for information about this topic for a while and yours is the greatest I’ve discovered till now.