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

[Solved] Loading grid using Ajax

3 Answers 128 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.
Sasikanth KS
Top achievements
Rank 1
Sasikanth KS asked on 14 Apr 2010, 04:00 PM
Hi,

I am loading telerik grid using ajax, the grid loads properly, but sorting, paging and any client side events is not working as required, when I click sorting or paging total page is submitted, because if we load grid through ajax the controls unable to be register with DOM, Please help with the same.

Thanks
--Sasi

3 Answers, 1 is accepted

Sort by
0
IQworks
Top achievements
Rank 1
answered on 14 Apr 2010, 06:55 PM
Hi Sasikanth,
      Could you post your grid code?  Other forum members might see something in your code?
0
Joshua Holt
Top achievements
Rank 2
answered on 15 Apr 2010, 05:08 AM
Hi Sasi,
If you are loading the grid via AJAX, then you need to manually register each of the grid scripts that you need. Each extension adds the scripts it needs to the script loader, but since you are loading this via ajax, the script registrar will already be rendered on the page.
-Josh
0
Mark Geneuglijk
Top achievements
Rank 1
answered on 16 Jun 2011, 08:19 PM
I'am facing the same problem!
I set up a page with a splitter and load in 2 of the splitter panes a treeview the selection of those treeview items causes a .Load() script to load a partial view in the third pane.
This partial view only contains the Grid control.  First every thing likes to work fine until i trigger an action like paging.
I did manually registered the scripts to run the data grid. and now it return the partial view into a new blank page instead of updating the current partial page.

Any suggestions?
 Mark
Tags
Grid
Asked by
Sasikanth KS
Top achievements
Rank 1
Answers by
IQworks
Top achievements
Rank 1
Joshua Holt
Top achievements
Rank 2
Mark Geneuglijk
Top achievements
Rank 1
Share this question
or