Telerik MVC: Loading Grid with ajax request don

2019-04-02 03:28发布

问题:

I have a Telerik MVC Tabstrip.

I have used:

.LoadContentFrom("Grid", "Orders");

"Grid" Action just returns view without model. Then the Ajax request should have been fired to get the data.

It is loading the grid normally but it is not calling the Ajax request to fill the data. If I am calling the same action normally i.e. without ajax it displays grid and fires Ajax request to load the data.

回答1:

Perhaps you've missed to register the required JavaScript files for the Grid. You can check the following help topics:

  • Loading components in tab content
  • Required JavaScript files


回答2:

Check the sample available at here.

This one uses MVC 1.0 but can be surely converted to MVC 2.0