Telerik MVC: Loading Grid with ajax request don#39;t work(Telerik MVC:使用 ajax 请求加载网格不起作用)
问题描述
我有一个 Telerik MVC 标签条.
I have a Telerik MVC Tabstrip.
我用过:
.LoadContentFrom("Grid", "Orders");
"Grid" Action 只返回没有模型的视图.然后应该触发 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.
推荐答案
可能您错过了为 Grid 注册所需的 JavaScript 文件.您可以查看以下帮助主题:
Perhaps you've missed to register the required JavaScript files for the Grid. You can check the following help topics:
- 正在加载标签内容中的组件
- 必需的 JavaScript 文件一个>
这篇关于Telerik MVC:使用 ajax 请求加载网格不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Telerik MVC:使用 ajax 请求加载网格不起作用


- Quasar 2+Apollo:错误:找不到ID为默认的Apollo客户端。如果您在组件设置之外,请使用ProvideApolloClient() 2022-01-01
- 400或500级别的HTTP响应 2022-01-01
- 使用RSelum从网站(报纸档案)中抓取多个网页 2022-09-06
- Flexslider 箭头未正确显示 2022-01-01
- CSS媒体查询(最大高度)不起作用,但为什么? 2022-01-01
- 失败的 Canvas 360 jquery 插件 2022-01-01
- Fetch API 如何获取响应体? 2022-01-01
- Css:将嵌套元素定位在父元素边界之外一点 2022-09-07
- addEventListener 在 IE 11 中不起作用 2022-01-01
- 如何使用 JSON 格式的 jQuery AJAX 从 .cfm 页面输出查 2022-01-01