New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


The OnClientDataBound event is raised when the RadTagCloud object is successfully bound to the requested data.

The event handler receives two arguments:

  • Sender–the TagCould object that fired the event.

  • Event arguments–an empty event arguments object.

Example 1: Shows how you can use the event to alert when the TagCloud is successfully bound.

<script type="text/javascript">
    function OnClientDataBound(sender, args) {
        alert("TagCloud is successfully bound.");

<telerik:RadTagCloud RenderMode="Lightweight" ID="tagCloud" runat="server" 
    ClientDataSourceID="tagsDataSource" DataTextField="ProductName"
    DataWeightField="UnitPrice" RenderItemWeight="true" OnClientDataBound="OnClientDataBound" >

<telerik:RadClientDataSource ID="TagsDataSource" runat="server">
        <WebServiceDataSourceSettings BaseUrl="">
            <Select Url="Products" DataType="JSONP" />

See Also

In this article
Not finding the help you need? Improve this article