基于Ajax的仪表盘LargeData [英] Ajax based Dashboard On LargeData

查看:119
本文介绍了基于Ajax的仪表盘LargeData的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对某种CRM应用具有庞大的销售数据与所有客户工作的领导等(ASP.NET 2.0 /阿贾克斯)

I am working on some sort of CRM application which has huge sales data with all the customer leads etc (ASP.NET 2.0/Ajax)

我要创建仪表盘,这将有四个独立的数据容器的每个容器都会有不同类型的数据,并且每个容器必须更新它的一些配置的时间间隔后的自我。所以我想更新页面而不是整个页面只有一部分

I want to create a dashboard which will have four separate data containers each container will have different sort of data and each container has to update it self after some configured time interval. so I want to update only that part of page not whole page

我应该在上述情况下asp.net的UpdatePanel或jQuery的实现(技术和原因)使用

What should I used in the above scenario asp.net updatePanel or jQuery implementation (which technique and why)

由于性能也同样重要位置。

Because performance is also important here.

推荐答案

无论ASP.NET的UpdatePanel或jQuery的(或两者的混合)将竭诚为您服务罚款这种情况下;如果你没有既没有经验,我会建议在UpdatePanel方式,因为它更接近你习惯了常规ASP.NET code。

Both ASP.NET UpdatePanel or jQuery (or a mix of both) would serve you fine on this scenario; if you don't have experience with neither, I would recommend the UpdatePanel way because it is closer to the regular ASP.NET code you're used to.

本文将让你90%在那里,你所在最后做的是把一些简单的JavaScript到位,消防更新每X秒;像 window.setTimeout(Button1.click(),5000)如果您想刷新面板每5秒。如果你不希望按钮可用于用户,只是使它通过CSS隐藏的。

This article will get you 90% there, all you have to do at the end is to put some simple javascript in place to fire the updates every X seconds; something like window.setTimeout("Button1.click()",5000) if you want to refresh a panel every 5 seconds. If you don't want the button to be available for the users, just make it hidden via CSS.

有更优雅的方式(使用JSON,Web服务,客户端模板等),但是这是把工作做了一个简单的方法。

There are more elegant approaches (using JSON, webservices, client-side templating etc) but that's an easy way to get the job done.

这篇关于基于Ajax的仪表盘LargeData的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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