RadClientDataSource - Telerik ASP.NET ClientDataSource

Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

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 90+ 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

  • DefaultCS.aspx
  • scripts.js
  • styles.css
<%@ Page Language="C#" AutoEventWireup="true"  %>

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<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>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />

    <div class="demo-containers">
        <div class="demo-container">
            <telerik:RadCodeBlock runat="server">
                <script type="text/javascript">
                    function pageLoad() {
                        $find("<%=RadClientDataSource1.ClientID %>").fetch();
            <div id="wrapper"></div>

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

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?