Edit this page


The article bellow, focuses on the usage of the OnClientLoad client-side event of the RadTreeMap.

The OnClientLoad client-side event occurs after the RadTreeMap has been fully initialized on the client-side.

The event handler receives one parameter:

  • The instance of the RadTreeMap control firing the event.

Hook the OnClientLoad event and get the client-side instance of the RadTreeMap as demonstrated in the example below. This technique can be used to retrieve the RadTreeMap instance for use elsewhere.

<script type="text/javascript">
var treemap;
function OnClientLoad(sender) {
    treemap = sender;

<telerik:RadTreeMap RenderMode="Lightweight" runat="server" ID="TreeMap1" OnClientLoad="OnClientLoad">
    <telerik:TreeMapItem Text="Parent Item">
Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article