Telerik MVC: Loading Grid with ajax request don't work

耗尽温柔 提交于 2019-12-09 13:58:20

问题


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



来源:https://stackoverflow.com/questions/3115749/telerik-mvc-loading-grid-with-ajax-request-dont-work

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!