MVC的Telerik:加载中电网与Ajax请求不工作 [英] Telerik MVC: Loading Grid with ajax request don't work

查看:125
本文介绍了MVC的Telerik:加载中电网与Ajax请求不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个MVC的Telerik标签栏。

I have a Telerik MVC Tabstrip.

我用的:

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

网格的行动只返回视图,不模型。然后Ajax请求应被解雇了获取数据。

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

有通常加载格,但是它不调用Ajax请求填充数据。 如果我打电话了同样的动作,即正常没有Ajax则显示电网并触发Ajax请求加载数据。

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.

推荐答案

也许你已经错过了报名电网所需的JavaScript文件。您可以查看以下帮助主题:

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

  • <一个href="http://www.telerik.com/help/aspnet-mvc/telerik-ui-components-tabstrip-defining-item-content.html#ComponentInTabContent"相对=nofollow>加载选项卡中的内容组件
  • 需要的JavaScript文件
  • Loading components in tab content
  • Required JavaScript files

这篇关于MVC的Telerik:加载中电网与Ajax请求不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆