Telerik ASP.NET MVC 的组合框页面加载
Telerik 是否计划使 ASP.NET MVC 的组合框具有仅获取进入视图的数据(由用户滚动)的功能。当前的 ASP.NET MVC 组合框会获取所有行,即使用户没有看到这些行。如果他们还没有该功能,我担心 ASP.NET MVC 组合框在实际使用中无法扩展。
对比这个 ASP.NET MVC 组合框: http://demos.telerik.com/aspnet-mvc/combobox
使用此 ASP .NET 组合框: http://demos.telerik.com/aspnet- ajax/combobox/examples/populatewithdata/autocompletesql/defaultcs.aspx
Does Telerik has a plan to make ASP.NET MVC's combobox have a feature of only fetching the data brought into view(as scrolled by user). The current ASP.NET MVC combobox fetch all rows even though they are not brought into view by the user. If they don't have that feature yet, I'm worried that ASP.NET MVC combobox would not scale in real-world usage.
contrast this ASP.NET MVC combobox:
http://demos.telerik.com/aspnet-mvc/combobox
with this ASP.NET combobox:
http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MVC 组合框中尚不提供此功能。您可以指定在发出 ajax 请求之前应输入的最小字符数。然后在服务器端过滤数据,这样就不会将其全部返回给最终用户。
This feature is not available yet in the MVC combobox. You can specify some minimum number of characters that should be entered before an ajax request is made. Then on the server side filter the data so you don't return it all to the end user.