Click here to Skip to main content
16,018,797 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have asp.net gridview with checkbox column
I'd like to configure the print button on the same page to print only the checked rows
using javascript.
Thank you.
Posted

1 solution

Select All the checked rows by using jquery
then add rows to the <div> in the same jquery function
then Add the <div> to Document.Open()
you will get a pop containing the checked rows
then print this window document.Print()
or you can also use this logic to directly print these rows
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900