It's a good idea using ASP.NET web based systems for inventory and business control. But any browser is not a good place for printing documents.
I had a bit of a problem in printing GridView in Internet Explorer. I needed to print only two rows on one page. The first problem was how to break page. I used the special style
"page-break-before:always;" for the tag "br". The second problem was how to insert this unit before each odd row but exclude the first row. I used the property Container.DataItemIndex And now we have this very simple solution:
<asp:gridview....
<Itemtemplate >
<%#IIf(Container.DataItemIndex Mod 2 = 0 AND Container.DataItemIndex <> 0, "<br style=""page-break-before:always;""> ", "<br> ")%>
<div>..information....</div >
</Itemtemplate >
If you will print this gridview you will have only two rows on each page
Subscribe to:
Post Comments (Atom)
Labels
- accounting (1)
- accounting software (1)
- adjusting (1)
- ASP.Net 2.0 (2)
- barcode scanner (1)
- Blog (1)
- classical music (1)
- clothing software (1)
- Excel (1)
- fashion clothes (1)
- free invoice template (1)
- GAE (1)
- Horowitz (1)
- HTML (1)
- HTTPS (1)
- import Excel file (1)
- inventory (2)
- inventory software (1)
- inventory system (6)
- inventory system web based software ASP.Net (1)
- invoice (1)
- meta tag (1)
- mobile wireless inventory software (3)
- MS SQL (1)
- multi location (1)
- music pianist (1)
- music software (1)
- online (1)
- osCommerce (1)
- pen and paper (1)
- physical counting (1)
- piano (1)
- point of sale (1)
- query (1)
- receipt (1)
- reorder point (1)
- software (1)
- system (1)
- warehouse (1)
- warehouse management (1)
- web store (1)
- XML (2)
No comments:
Post a Comment