包含ReportViewer以在报表中导航页面的表单上的按钮? [英] Button on form that contains ReportViewer to navigate pages in report?

查看:75
本文介绍了包含ReportViewer以在报表中导航页面的表单上的按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,

包含ReportViewer的表单上的按钮是否可以执行与工具栏中的页面导航按钮相同的功能?我的应用程序用于触摸屏,工具栏按钮太小。

Hello All,

  Is it possible to buttons on the form that contains the ReportViewer that perform the same function as the page navigation buttons in the toolbar?  My app is for touchscreens, and the toolbar buttons are too small. 

推荐答案

是的,可以这样做,ReportViewer公开了几个方法和属性,允许您执行与默认工具栏相同的操作。对于页面导航,您只需将ReportViewer.CurrentPage属性设置为要导航到的页面。

Yes it is possible to do this, the ReportViewer exposes several methods and properties that allow you to perform the same actions as the default toolbar. For page navigation you would just need to set the ReportViewer.CurrentPage property to whichever page you want to navigate to.


这篇关于包含ReportViewer以在报表中导航页面的表单上的按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆