Printing Web Form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yatin Bhuta

    #1

    Printing Web Form

    Hi,

    I have a web form, which has many text boxes and a few buttons. One of the
    button is to print the web form.

    Some of the text boxes are multi line. Due to screen space limitation the
    height of the multi line text boxes is not enough to display the whole text
    box's value on the screen. However, when I click on the print button I want
    to display the whole content of the text box. I tried to execute
    'document.print ()' or 'window.print() ' in client side script but it didn't
    print the whole content.

    Can anyone help me figure out how to do this or is there an example out
    there on the web?

    Thanks

    Yatin


  • bruce barker

    #2
    Re: Printing Web Form

    most site supply a printer friendly version of the page, where the textbox
    are rendered as plain html

    -- bruce (sqlwork.com)



    "Yatin Bhuta" <ybuhta@comcast .net> wrote in message
    news:txYVa.2262 6$o%2.12643@scc rnsc02...[color=blue]
    > Hi,
    >
    > I have a web form, which has many text boxes and a few buttons. One of the
    > button is to print the web form.
    >
    > Some of the text boxes are multi line. Due to screen space limitation the
    > height of the multi line text boxes is not enough to display the whole[/color]
    text[color=blue]
    > box's value on the screen. However, when I click on the print button I[/color]
    want[color=blue]
    > to display the whole content of the text box. I tried to execute
    > 'document.print ()' or 'window.print() ' in client side script but it didn't
    > print the whole content.
    >
    > Can anyone help me figure out how to do this or is there an example out
    > there on the web?
    >
    > Thanks
    >
    > Yatin
    >
    >[/color]


    Comment

    Working...