how to print tables with dynamical content?

Discussion in 'ASP .Net' started by benny, Jan 11, 2007.

  1. benny

    benny Guest

    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
    benny, Jan 11, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Liqun Xu

    Click-Event by dynamical Button

    Liqun Xu, Dec 5, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    369
    Munsifali Rashid
    Dec 5, 2003
  2. MARTIN Herve \(EXT\)

    Dynamical update of the CLASSPATH

    MARTIN Herve \(EXT\), Nov 5, 2003, in forum: Java
    Replies:
    4
    Views:
    337
    MARTIN Herve \(EXT\)
    Nov 6, 2003
  3. blabla

    dynamical dimensions

    blabla, May 26, 2004, in forum: Java
    Replies:
    4
    Views:
    346
    blabla
    Jun 14, 2004
  4. haiwen
    Replies:
    5
    Views:
    112
    haiwen
    Oct 27, 2003
  5. Replies:
    9
    Views:
    116
    Evertjan.
    Jun 3, 2007
Loading...

Share This Page