如何在ASP.NET 2.0中更改DataGrid中最近更新的字段的颜色 [英] How to change color of recently updated fields in datagrid in asp.net 2.0

查看:47
本文介绍了如何在ASP.NET 2.0中更改DataGrid中最近更新的字段的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很困惑要这么做.请您中的任何一个答复我....

i am so confused to do this. pls any of u reply me....

推荐答案

这里的问题是什么?

在该字段的每次更新中,如果没有回发,则使用Javascript更改颜色.将onchange处理程序附加到控件,并在控件发生更改时,通过该处理程序调用Javascript方法,在该方法中更改字段的颜色.

试试吧!
What''s the issue here?

On every-update of the field, if there is no postback then change back color using Javascript. Attach a onchange handler to the control and whenever they get changed, via that handler invoke the Javascript method where you change the color of the field.

Try!


这篇关于如何在ASP.NET 2.0中更改DataGrid中最近更新的字段的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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