|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Print version use CSS or similar ?however I'm not sure I'm on the right track. The goal is to have a printable version w/out having to code a duplicate page that is printer friendly. 1. I don't get how to use the CSS method, perhaps I havent' read enough. 2. I'd like to add scroll bars to my panel that my table resides in, however I'd like the resulting <div> tag to not to have scrollbars and down & dirty print all rows in the table. Basically I want to enable a scrollable table and still print all the content. 3. Since most of the examples I've seen do not involve .Net; does anyone have a link to making a printer friendly version of a page in .Net. TIA JeffP.... This really has nothign to do with .NET.
I think you want something lke this... @media print { div#myId { overflow: auto; } } The overflow css keyword does that stuff... Please foregive me, but this is exactly what I've seen and the reason I posted
and requested examples. In .Net there are places to put things, like javascript in literals, html in the aspx page and in my world VB.Net in the code behind, yes it's still 1.1 for my clients and myself and elements in the CSS. So where does this snipit go? TIA JeffP.... <agape***@gmail.com> wrote in message Show quoteHide quote news:1145568064.193928.263860@e56g2000cwe.googlegroups.com... > This really has nothign to do with .NET. > > I think you want something lke this... > > @media print { > div#myId { > overflow: auto; > } > } > > The overflow css keyword does that stuff... >
MyGridView cause "Columes" lose the intellisense in VS2005 IDE!
CompositeControl and Toolbox A socket operation was attempted to an unreachable network ID of web control changed Can i Make a Month Column Display May instead of 5 Sorting Datagrid 2.0 TreeNode How to get dynamic control's value after postback? Custom Panel How to upload files to a remote webserver using FileUpload ? |
|||||||||||||||||||||||