如何最小化下拉列表中加载的数据? [英] How to minimize loaded data in dropdown list?

查看:49
本文介绍了如何最小化下拉列表中加载的数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个详细信息"屏幕,该屏幕通常无法加载某些下拉列表.在Fiddler上检查时,我会从下拉列表的实体中看到数据-所有这些,而不仅仅是显示的名称.对于该特定的详细信息"屏幕,下拉列表的实体具有 一对非常重的varchar(max)列,完全不需要加载,使用或查看.

I have a Details screen that often fails to load some dropdown lists. When I check it on Fiddler I see data from the dropdown list's entities -- all of it, not just the displayed name. And for that specific Details screen the dropdown list's entities have a couple of varchar(max) columns that are pretty heavy and totally unnecessary to load or use or see there.

如何最小化下拉列表中加载的数据?

How do I minimize the loaded data in the dropdown lists?

推荐答案

我认为这可能是对summary属性的调用

I think this may be a call for the summary property.

否则,贝丝在这里展示的内容可能会有用:

Otherwise, what Beth demonstrates here might be useful:

Beth的方法:如何在LightSwitch应用程序中创建和控制查找列表?

Beth's How Do I: Create and Control Lookup Lists in a LightSwitch Application?

msdn.microsoft.com/en-us/vstudio/ff961882.aspx

(很抱歉,我无法直接发布链接,这与我将继续处理的有关验证我的帐户的事情有关)

还要在屏幕上添加新查询,在屏幕上添加过滤器以减少返回的行,然后将Choices:选项更改为该新查询.我还注意到,即使选择列表不包含控制源值代表的内容,它仍然会显示 正确.

(sorry I cannot post a link directly, something about verifying my account, which I'll work on)

Also adding a new query to a screen, adding a filter to it to reduce rows returned, then chage the Choices: option to be this new query.  I also noted that even if the choices list doesn't contain what the control source value represents, it still displays correctly.

希望其中一项能为您服务.这是我的开始使用Lightswitch"的回复...我确定有些退伍军人可以添加此内容.

Hope one of those works for you.  This is my 'Getting Into Lightswitch' reply... I'm sure some of the Veterans can add to this.


这篇关于如何最小化下拉列表中加载的数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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