DocumentViewerClientEventsPrinting Property

Gets or sets the client-side event raised before user prints the document. The value should be a valid JavaScript function name which is accessible on the host page. Function names should be specified without parentheses like "FunctionName" or "Namespace.FunctionName".

Definition

Namespace: GleamTech.DocumentUltimate.AspNet.UI
Assembly: GleamTech.DocumentUltimate (in GleamTech.DocumentUltimate.dll) Version: 6.9.7
C#
public string Printing { get; set; }

Property Value

String

Example

Example function:

JavaScript
function documentViewerPrinting(sender, e) { 
    //e.totalPages (total pages that will be printed)

    alert("Started printing " + e.totalPages + " pages");
}
//

See Also