开发者

print button on ASP.NET page

开发者 https://www.devze.com 2022-12-28 03:53 出处:网络
is there a simple way to put a print button on an asp.net page which, instead of printing the entire page, will print only a couple of 开发者_Go百科fields?It what you want is this to be the case whene

is there a simple way to put a print button on an asp.net page which, instead of printing the entire page, will print only a couple of 开发者_Go百科fields?


It what you want is this to be the case whenever the page prints, you could add another stylesheet with a media="print" attribute and in that stylesheet, hide every field apart from the two you care about.

0

精彩评论

暂无评论...
验证码 换一张
取 消