Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7684307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:59:46+00:00 2026-05-31T18:59:46+00:00

Ok, the issue is like, I want to bind list view on client side.

  • 0

Ok, the issue is like, I want to bind list view on client side. I have found solutions on forum and demos but i am getting error on set_dataSource(data); like set_dataSource is undefined, morover, i cannot also find tag within client setting as it is shown in demos. I am using 2011.2.915.40 version of telerik.

Below is my aspx Code:

<telerik:RadListView ID="lstViewNotes" runat="server" OnItemCommand="lstViewNotes_ItemCommand">
<EmptyDataTemplate>
<table id="Table1" style="">
<tr>
<td>
<%=GetGlobalResourceObject("General","EmptyData") %>
</td>
</tr>
</table>
</EmptyDataTemplate>
<ItemTemplate>
                 <table>
<tr>
<td colspan="3">
<div style="width: 100%">
<asp:HiddenField ID="hfNoteId" runat="server" Value='<%#Eval("NotesId") %>' />
<asp:LinkButton ID="lblCreate" runat="server" Text='<%#Eval("UserName") %>' CssClass="label_n_t"
CommandName="Select" /><asp:LinkButton ID="NameLabel" runat="server" Text='<%# Eval("CreateDate") %>'
CssClass="label_n_t" CommandName="Select" /></div>
<div style="width: 100%">
<asp:LinkButton ID="lblNotesDesc" runat="server" Text='<%# Eval("MemoDesc") %>' CssClass="label_n_c"
CommandName="Select" /><br />
<br />
</div>
</td>
</tr>
                  </table>
</ItemTemplate>
</telerik:RadListView>

Below is my JS Code:

var listView = $find('<%= lstMemo.ClientID%>');
listView.set_dataSource(result.lstMemo);
listView.dataBind();

I have updated this issue on telerik forums too, but i am not getting any response. Respond me back if any one of you have a solution.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T18:59:47+00:00Added an answer on May 31, 2026 at 6:59 pm

    It won’t be available until the client-side AJAX framework has fully loaded.

    To bind RadListView to a javascript array, use the set_dataSource() and dataBind() APIs in a point after the client-side AJAX framework (and RadListView) has loaded

    What does your datasource result look like? Is it an array? ASMX web service? WCF service?

    Binding to Javascript Arrays
    To bind RadListView to a javascript
    array, use the set_dataSource() and dataBind() APIs in a point after
    the client-side AJAX framework (and RadListView) has loaded:

    protected override void
    OnPreLoad(EventArgs e) {
        var serializer = new System.Web.Script.Serialization.JavaScriptSerializer();
        MyData.BusinessDataStorage.GetData().ForEach(item =>
        {
            ScriptManager.RegisterArrayDeclaration(Page, "pageData", serializer.Serialize(item));
        });
        base.OnPreLoad(e); }
    

    Binding to ASMX Web Services
    To bind RadListView to an ASMX Web
    Service, you need to set the following properties:
    •Location: service base location
    •DataPath: Data method name
    •CountPath: Count method name, if required
    •SortParameterType: Sort expression format, if supported
    •FilterParameterType: Filter expression format, if supported

    If data and total row count is returned in one and the same service
    call, the CountPath setting is omitted. In this case, RadListView
    searches for fields with name Data and Count in the web service JSON
    response, respectively. To modify the names of the response fields
    RadListView looks for, set the DataPropertyName and CountPropertyName
    settings. Binding to WCF Services For automatic databinding to WCF
    services, RadListView is configured in an identical way as ASMX Web
    Services. In this example, RadListView is bound to a WCF Service that
    returns data and count in a single request:

    Binding to OData Services
    Binding RadListView to OData service is
    quite straightforward. The only two required parameters are Location
    and HttpMethod=”Get”. OData services require GET requests in
    RadListView. Additionally, if a remote OData request is accessed (and
    it supports JSONP), ResponseType=”JSONP” is also added to ensure
    RadListView can make a remote service request:

    http://www.telerik.com/help/aspnet-ajax/listview-clientside-various-datasources.html
    http://www.telerik.com/help/aspnet-ajax/listview-clientside-binding-specifics.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I want to bind something like a combobox in the code-behind I have
I have a similar issue like here: http://social.msdn.microsoft.com/forums/en-US/biztalkgeneral/thread/87d5a6ec-04ee-4c6f-8267-f526ee105f0b I have an asp.net web page
I've notice an issue - it feels like a bug but I suspect a
I have an issue that seems like very flaky behavour, is this a problem
I have an issue that looks like a race condition with a webview callback
I have a simple issue -- I would like to check a field to
This seems like an easy enough issue but I can't seem to find the
I have the following issue and I would like to know what exactly happens.
I want to have multiple a MySQL users to be able to issue commands
I have a strange issue. It almost seems like a bug. if ($object->error) {Form::BuildReturn();

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.