如何在asp.net gridview内添加一个进度条栏 [英] How to add a progress bar column inside the asp.net gridview

查看:427
本文介绍了如何在asp.net gridview内添加一个进度条栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有asp.net网格,我有一个名为状态的列,每个网格列的状态我想放置一个进度条,给出状态。请给我一些实现的想法。

解决方案

不知道为什么你想把进度条放在那里?网格中的每一行都有一个不断变化的状态(如完成%)?你的网格是否会定期刷新?

说了这么多,我可能会用 jquery UI进度条。它是一个客户端插件,因此您可以在服务器端轻松初始化值,然后在客户端更新它们,如果您的状态通过使AJAX调用从服务器获取状态而动态更改。


I have asp.net grid for which i have a column called status in each of the gridcolumn for status i want to place a progress bar which gives the status. please can give me some implementation idea on this.

解决方案

Not sure why you want to put progress bar there? Is each row in grid has a status (such as % complete) that is keep changing? Is your grid keep refreshing periodically?

Said all that, I will probably go with jquery UI progress bar. Its a client side plug-in so you can easily initialize values at server side and then update them on client side if your status is changing dynamically by making AJAX calls to get the status from server.

这篇关于如何在asp.net gridview内添加一个进度条栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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