This is a migrated thread and some comments may be shown as answers.

[Solved] Telerik Grid in Partial View

1 Answer 103 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ramesh
Top achievements
Rank 1
Ramesh asked on 14 Oct 2011, 12:27 PM
Hi,

We have a requirement to bind the grid dynamically based on few perameters. So we have placed the telerik grid in a partial view and will bind the grid based on the model passed to it. We are currently binding the grid using custombinding set to true.

The issue is when we render the partial view by getting the HTML using $.ajax method I am getting the below error
    "Object doesn't support this property or method"

When I debug the error I found that the error is due to the method "tGrid" called while initializing the grid. Java script is unable to find this method. When I directly render the partial view using @Html.Partial method, grid is rendered without any issues.

Can you please help me with this issue.

Thanks
Ramesh M
   

1 Answer, 1 is accepted

Sort by
0
Ramesh
Top achievements
Rank 1
answered on 10 Nov 2011, 02:20 PM
Hi,

I am able to resolve this issue. This is due to specifing the jQuery plugin reference multiple times in my page.

Thanks for the help.

Ramesh M
Tags
Grid
Asked by
Ramesh
Top achievements
Rank 1
Answers by
Ramesh
Top achievements
Rank 1
Share this question
or