Remove Gridview Column for printer output via css print media cssclass declaration
Posted on 2006-05-30
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.