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

WebForms ClientDataSource Overview

The demo shows a basic configuration for binding to remote XML service and a data model definition.

About RadClientDataSource for ASP.NET AJAX

RadClientDataSource for ASP.NET AJAX is a control powered by Kendo UI DataSource framework. It allows querying local and remote services and wide variety of data operations. The rich client-side API offers capabilities for data editing, sorting, paging, filtering, grouping and more. The provided Client-side events allow fully customization of the queries and parameters passed to the web service.

RadClientDataSource and 120+ other controls are part of UI for ASP.NET AJAX, a comprehensive toolset taking care of the common functionality of your application, while leaving you with more time to work on its business logic.

Key Features

  • Easy databinding to any web services (OData, XML, WCF)
  • Easy configuration
  • Local and remote data operations
  • Many capabilities for custom queries and parameters
  • Allows flexible data model definitions
  • Seamless integration with UI for ASP.NET AJAX
  • Rich Client-side API and events

More about ClientDataSource for ASP.NET AJAX

  • DefaultVB.aspx
  • scripts.js
  • styles.css
<%@ Page Language="VB" AutoEventWireup="true"  %>

<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link rel="Stylesheet" type="text/css" href="styles.css" />
    <script src="scripts.js" type="text/javascript"></script>
</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">
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function pageLoad() {
            $find("<%=RadClientDataSource1.ClientID %>").fetch();
        }
    </script>
</telerik:RadCodeBlock>
    <div id="wrapper"></div>

    <telerik:RadClientDataSource ID="RadClientDataSource1" runat="server">
        <DataSource>
            <WebServiceDataSourceSettings>
                <Select Url="BooksService.asmx/GetBooks" RequestType="Post" DataType="JSON" ContentType="application/json; charset=utf-8" />
            </WebServiceDataSourceSettings>
        </DataSource>
        <Schema DataName="d">
        </Schema>
        <ClientEvents OnChange="OnChange" />
    </telerik:RadClientDataSource>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance