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

Data Source Controls

RadTagCloud can be bound to all ASP 3.5 DataSource control types, such as EntityDataSource.

<telerik:RadTagCloud ID="RadTagCloud1" runat="server"
    DataSourceID="EntityDataSource1"
    DataTextField="ProductName"
    DataWeightField="UnitPrice"
    RenderItemWeight="true">
    </telerik:RadTagCloud>
    <asp:EntityDataSource ID="EntityDataSource1" runat="server"
    ConnectionString="name=NorthwindReadOnlyEntities"
    DefaultContainerName="NorthwindReadOnlyEntities"
    EntitySetName="Products"
    Select="it.[ProductName], it.[UnitPrice]">
    </asp:EntityDataSource>

You may also see how to utilize Telerik OpenAccess ORM as a data access layer for our AJAX controls by visiting the OpenAccess ORM live demos here .

  • DefaultCS.aspx
<%@ Page Language="C#"  %>

<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container size-narrow">
        <telerik:RadTagCloud RenderMode="Lightweight" ID="RadTagCloud1" runat="server" DataSourceID="EntityDataSource1"
            DataTextField="ProductName" DataWeightField="UnitPrice" MaxNumberOfItems="20"
            TakeTopWeightedItems="false" RenderItemWeight="true">
        </telerik:RadTagCloud>
        <asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=NorthwindReadOnlyEntities"
            DefaultContainerName="NorthwindReadOnlyEntities" EntitySetName="Products" Select="it.[ProductName], it.[UnitPrice]">
        </asp:EntityDataSource>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance