导航返回增量加载((ISupportIncrementalLoading) [英] Navigation Back in Incremental Loading ((ISupportIncrementalLoading)

查看:57
本文介绍了导航返回增量加载((ISupportIncrementalLoading)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有带增量加载的GridView页面(ISupportIncrementalLoading)。

I have pages with GridView with Incremental Loading (ISupportIncrementalLoading).

如果用户滚动并加载1000项,然后点击该项,我导航后列表是不填充以前的数据。 

And if user scroll and load 1000 item, and click on that item, after I navigate back list is not populate with previous data. 

此外,如果我缓存数据时如何填充列表  ISupportIncrementalLoading只需要首次显示数据,以及如何滚动到上一项。

Also If I cache data how to populate list when  ISupportIncrementalLoading wants only data for first display, and how to scroll to previous item.

如果有人知道感谢您的答案。

If anybody know thanks for answers.

推荐答案

尝试使用  Page.NavigationCacheMode = NavigationCacheMode.Enabled(或必需);对于页面。这应该有助于在导航时保留状态(数据,滚动位置,选择等)。

Try using  Page.NavigationCacheMode = NavigationCacheMode.Enabled (or Required); for page. This should help retaining the state (data, scroll positions, selections etc) while navigating back.


这篇关于导航返回增量加载((ISupportIncrementalLoading)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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