DocumentViewerClientEventsPageRendered Property

Gets or sets the client-side event raised when a page had finished rendering. 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: 7.1.5
C#
public string PageRendered { get; set; }

Property Value

String

Example

Example function:

JavaScript
function documentViewerPageRendered(e) { 
    var documentViewer = e.target;

    //Pretty print the event arguments
    var json = JSON.stringify(e.detail, null, 2);

    console.log(json);
}

//SAMPLE OUTPUT:
/*
{
  "eventName": "pageRendered",
  "document": "p4450.pdf",
  "pageNumber": 1,
  "cssTransform": false,
  "timestamp": 1426.5,
  "error": null
}
*/
//

See Also