B
benny
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
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