Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > how to print tables with dynamical content?

Reply
Thread Tools

how to print tables with dynamical content?

 
 
benny
Guest
Posts: n/a
 
      01-11-2007
Hi,

The aspx file produces a table with several cells in each row.
One column has cells contains a label of variable length with a
backgroundcolor, in function of a parameter (x) defined in the code behind,
like this:

l = New Label
l.BackColor = Drawing.Color.Red
l.Width = Math.Round(x)
c.Controls.Add(l)

When running it in the browser, everything is rendered correctly, but when i
print it (with a colorprinter), everything is printed except that cell which
remains blanco.
I can read following code in the browser:

<td align="left" style="background-color:LightSlateGray;"><span
style="display:inline-block;background-color:Red;width:19px;"></span></td>

Any idea how to print the whole table correclty?
Thanks for help
Benny


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
dynamical dimensions blabla Java 4 06-14-2004 01:55 PM
Fonts in dynamical build html Michael Schrading HTML 4 02-10-2004 07:44 PM
Click-Event by dynamical Button Liqun Xu ASP .Net 2 12-05-2003 02:29 PM
Dynamical update of the CLASSPATH MARTIN Herve \(EXT\) Java 4 11-06-2003 09:39 AM



Advertisments