none
Getting return values from Print Dialog RRS feed

  • Question

  • I need to know how can I get the return values when showing the Print Dialog,
    I have to disable print button if the user has send the report to the printer, otherwise
    if the user press the cancel button  the print button will be enable.

    I have manage to use a custom button adding the following attribute:

    BtnPrint.Attributes.Add("onclick", "document.getElementById('" + ReportViewer1.ClientID + "').ClientController.LoadPrintControl();return true;")

    what i need is to know if the user press ok or cancel btton on the print dialog.


    Thanks for your help!

    Monday, July 7, 2008 3:12 PM

All replies