应用程序无法在离线资源管理器中运行
我在sharepoint平台上使用asp.net构建了一个应用程序,但是gridview中的分页和排序功能无法在Offline Explorer(Metaproduct)环境(一个离线浏览软件)中正常运行。
有人遇到过同样的问题吗?
谢谢
I have an application build using asp.net in sharepoint platform, however the paging and sorting features in gridview failed to function properly in Offline Explorer (Metaproduct) environment, an offline browsing software.
anyone have encounter the same problem?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设我正确理解了你的问题并且你正在使用类似于谷歌齿轮的东西。分页无法离线工作。
分页的概念是“根据需要”从服务器检索数据,而不是在加载页面时检索数据 - 如果您处于离线状态,这显然无法工作。
在没有看到任何代码的情况下,很难提供具体的建议,但基本上您会希望确保正在加载的页面包含 gridview 显示所需的所有数据。这可以通过直接渲染所有数据的 gridview 或将数据加载到 JavaScript 数组中来完成。
Assuming I have understood your question correctly and you are using something similar to google gears. Paging cannot work offline.
The concept of paging is where data is retrieved from the server 'as required' rather then when the page is loaded - which obviously cannot work if you are offline.
Without seeing any code its hard to provide specific advice but basically you would want to make sure that the page that is being loaded contains all the data necessary for the gridview to display. This would be done by either rendering the gridview straight away with all data or alternatively loading the data into a javascript array.