Link to home
Start Free TrialLog in
Avatar of vort3xxx
vort3xxx

asked on

Remove Gridview Column for printer output via css print media cssclass declaration

I want to have a seamless printing process on my page where I use css to remove elements via the display:none; property.  I'm fine with doing that on menus and navigational / block level elements, but I'm not sure how to attach that print style to a column in a gridview.   For instance, I have a gridview with these columns.

Visit Time - Patient Name - Room # - DoctorName - ModifyAppointment

I want to remove the ModifyAppointment Column via a class or css so that I don't have to make a print version to remove it from printer output.  

I'm assinging middle point value to the question since it seems to be just a question of where to attach the cssclass property & looks relatively simple.
ASKER CERTIFIED SOLUTION
Avatar of Jason Scolaro
Jason Scolaro
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial