Print option

Results 1 to 2 of 2

Thread: Print option

  1. #1
    Join Date
    Dec 1969

    Default Print option

    in my asp page , i have print option. if the user invoke the print button in the asp form. i am inserting certain value in database. suppose user select print option in file menu that is (Control+p) in the tool bar. how can i update the value if the user select file or click print button . how can i do that.<BR><BR>venkatesh<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default Simple answer...

    You can&#039;t.<BR><BR>You cannot trap these actions. You could possibly trap the Ctrl-P by trapping the keystrokes a user makes using JavaScript, but it&#039;s not a very good idea - people will get annoyed.<BR><BR>Anyway, trapping the event of the user clicking "File&#124Print" is impossible, so it&#039;s probably not worth trying to do the above.<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts