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

  • SEARCH
  • Home
  • 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 6471423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:13:21+00:00 2026-05-25T06:13:21+00:00

When I try and call .dataBind() on a Telerik Grid object in javascript, it

  • 0

When I try and call .dataBind() on a Telerik Grid object in javascript, it throws an exception. The same code I’m using was working just fine with a previous version of the Telerik controls (2010.2.930) but since the update (using NuGet) to the latest version (2011.2.712), the code has broken.

These are the various errors on different browsers.

Firefox 6: this.dataSource is undefined (telerik.grid.min.js – line 1)
Chrome 13: Uncaught TypeError: Cannot call method ‘success’ of undefined (telerik.grid.min.js:1)
IE 9: SCRIPT5007: Unable to get value of the property ‘success’: object is null or undefined (telerik.grid.min.js, line 1 character 25697)

I have managed to create a very simple repo, all you need to do is put this in a fresh page:

<div>
    @(Html.Telerik().Grid(new List<GridData>())
        .Name("TestGrid")
        .Columns(column =>
        {
            column.Bound(e => e.Name).Title("Name").Width("9em");
            column.Bound(e => e.Description).Title("Description").Width("9em");
        }))
</div>
<p>
    <a id="getData" href="#">Bind Data</a>
</p>

<script type="text/javascript">
    (function ($) {
        $(document).ready(function () {
            $('#getData').click(bindGridData);
        });
    })(jQuery);

    var bindGridData = function() {
        var grid = $("#TestGrid").data("tGrid");

        var testData = [
            { Name: "Name 1", Description: "Description 1" },
            { Name: "Name 2", Description: "Description 2" }
        ];

        grid.dataBind(testData);
    };
</script>

The GridData class is just a simple POCO with Name and Description string properties.

  • 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-25T06:13:22+00:00Added an answer on May 25, 2026 at 6:13 am

    Seems like it was a bug in their code. I issued a support ticket with Telerik and they gave me a hotfix.

    Unfortunately I can’t link to it because it’s a private message. BUT, don’t fear, I did manage to find a link to it on a public forum page:
    http://www.telerik.com/community/forums/aspnet-mvc/general/gridroutevalues-allowhtml.aspx

    If that doesn’t work you can always wait until it’s fixed in the next NuGet drop.

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

Sidebar

Related Questions

When I try to call System.IO.File.Encrypt() on an existing file, it throws a generic
I got a little problem. Sometimes, when I try to call the following code,
How can I implement the code in the catch block? try { // Call
When I try and call any method on a COM Object that takes one
I try to call a function which passed as function pointer with no argument,
whenever I try to call my ejb from a client, I get this error
I keep getting this error when I try to call Find() public void findTxt(string
$(item).droppable({ drop: function(event, ui) { console.log(triggered); } }); I try to call drop by
If you wrap a call to HttpResponse.End within a try catch block, the ThreadAbortException
When I call this function, everything works, as long as I don't try to

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.