[英]Dynamically retriving data is not visible from Print Preview
I am having a web page, which has one button on it. 我有一个网页,上面有一个按钮。 Pressing on this button I am calling jquery and getting the data and displaying into the GridView... 按下此按钮,我正在调用jquery并获取数据并显示到GridView中。
On same screen I have Print button which calls WIndows.Print() simple javascript... But it doesn't print this Gridview, Even when I tried directly from the browser, it doesn't come up. 在同一屏幕上,我有调用WIndows.Print()简单javascript的“打印”按钮...但是它不会打印此Gridview,即使当我直接从浏览器尝试时,它也不会出现。 Anyone has clue what could be the problem.. 任何人都知道可能是什么问题。
The gridview is not made to be printed. 不会打印gridview。 You will need to extract the datasource and put in a printable view. 您将需要提取数据源并放入可打印视图。 Here is some examples: 这是一些例子:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.