Page Navigation in Reportviewer control
-
Hello, I'm using Reportviewer control to show the SQL server reports in asp.net page. It is working fine and showing the reports properly. But, if we enter page number in page number text box of report viewer control and press enter it is showing current page only but not the required page. do we need to write any page navigation event for this functionality explicityly? I have also written the code for pagenavigation event, it didn't work out even. following is the piece of code I wrote in .cs page. protected void ReportViewer1_PageNavigation(object sender, Microsoft.Reporting.WebForms.PageNavigationEventArgs e) { ReportViewer1.CurrentPage = e.NewPage; } Any help would be highly appreciated. Thank you, Raheem MA
-
Hello, I'm using Reportviewer control to show the SQL server reports in asp.net page. It is working fine and showing the reports properly. But, if we enter page number in page number text box of report viewer control and press enter it is showing current page only but not the required page. do we need to write any page navigation event for this functionality explicityly? I have also written the code for pagenavigation event, it didn't work out even. following is the piece of code I wrote in .cs page. protected void ReportViewer1_PageNavigation(object sender, Microsoft.Reporting.WebForms.PageNavigationEventArgs e) { ReportViewer1.CurrentPage = e.NewPage; } Any help would be highly appreciated. Thank you, Raheem MA