本文介绍了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 请求加载网格不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!
The End


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)