Control Properties
Properties of the server control are mentioned below. The .NET 4.8 version has few additional properties.
public int TotalPages
public string Token
TotalPages |
integer |
Page count of the currently viewed document. |
Token |
string |
Unique identifier of the currently viewed document. |
.NET 4.8
public bool AutoClose = true;
public bool IncludeJQuery = true;
public bool DebugMode = false;
public string InternalException = "";
AutoClose |
boolean |
When specified as true, the control will close existing file while viewing a new one. The default value is true. |
IncludeJQuery |
boolean |
Specified as false, if you page already has jQuery script reference. The default value is true. |
DebugMode |
boolean |
When set to true, the control will log details to trace any errors. The default value is false. |
InternalException |
string |
Inspect any errors that are raised while viewing a file. |