LightSwitch应用程序中的下拉列表中的运行时数据检索 [英] Run Time Data retrieval in a dropdown in a LightSwitch Application

查看:79
本文介绍了LightSwitch应用程序中的下拉列表中的运行时数据检索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Lightswitch应用程序中,我有一个需求,我需要在选择另一个过滤器的下拉列表中加载数据.

In my Lightswitch application I have a requirement where I need to load the data in a dropdown on selection of another filter.

该下拉菜单包含大量数据(以万为单位),使用存储过程来检索它会花费很多时间,&因此页面的加载.

The dropdown contains loads of data (in ten thousands) & it’s taking a lot of time to retrieve it using a Stored Procedure, & hence the loading of the page.

我在这里有一个查询,下拉菜单的底部有一个刷新图标,一开始我可能只在下拉菜单&中加载了10个项目吗?当用户单击刷新时,在运行时它将使用任何SP/Query获取其余数据.通过这种方式 可以减少第一次页面加载所花费的时间.

I have a query here, There is one refresh icon at the bottom of the dropdown, is it possible that at first I load only 10 items in the dropdown & when user clicks on refresh, on run-time it will fetch rest of the data using any SP/Query. In this way time taken by the page-load at first time can be reduced.

请建议是否还有其他方法.

Please suggest if there is any other way.

预先感谢.

推荐答案

使用模式窗口选择器而不是下拉菜单.它使用分页.没有人对具有数千条记录的下拉列表感兴趣.
Use the modal window picker instead of the dropdown. It uses paging. No one is interested in dropdowns with thousands of records.


这篇关于LightSwitch应用程序中的下拉列表中的运行时数据检索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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