DocumentViewerClientEventsDocumentLoaded Property
Gets or sets the client-side event raised when a document has been loaded.
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".
Namespace: GleamTech.DocumentUltimate.AspNet.UIAssembly: GleamTech.DocumentUltimate (in GleamTech.DocumentUltimate.dll) Version: 7.1.5
public string DocumentLoaded { get; set; }
Public Property DocumentLoaded As String
Get
Set
Property Value
String Example function:
function documentViewerDocumentLoaded(e) {
var documentViewer = e.target;
//Pretty print the event arguments
var json = JSON.stringify(e.detail, null, 2);
console.log(json);
}
//SAMPLE OUTPUT:
/*
{
"eventName": "documentLoaded",
"document": "p4450.pdf"
}
*/
//