New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Load
The client-side Load event is raised when the RadClientExportManager client-side object is fully loaded (the full API of the control is available at this point).
To handle this event, simply write a JavaScript function that can be called when the event occurs. Then assign the name of this function as the value of the OnLoad property.
The client-side OnLoad event handler receives one argument:
- Sender—the RadClientExportManager object that fired the event.
Example 1: Handle the RadClientExportManager's client-side Load event.
ASPNET
<telerik:RadClientExportManager runat="server" id="RadClientExportManager1" onclientload="OnClientLoad">
<PdfSettings FileName="MyFile.pdf" MarginBottom="20mm" />
</telerik:RadClientExportManager>
JavaScript
<script type="text/javascript">
var clientExportManager;
function OnClientLoad(sender) {
clientExportManager = sender;
}
</script>