asp.net下让Gridview鼠标滑过光棒变色效果
2010-11-21 21:29
716 查看
//光棒效果 protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#FFFDD7'"); e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=currentcolor"); } } 详细出处参考:http://www.jb51.net/article/24335.htm
相关文章推荐
- asp.net下怎么实现Gridview鼠标滑过光棒变色效果
- asp.net下让Gridview鼠标滑过光棒变色效果
- asp.net下让Gridview鼠标滑过光棒变色效果
- Asp.net GridView隔行变色和光棒效果2种方法实现
- Asp.Net中GridView加入鼠标滑过的高亮效果和单击行颜色改变
- ASP.NET中GridView实现行鼠标滑过及选择变色
- Asp.net GridView隔行变色和光棒效果2种方法实现
- Asp.Net中GridView加入鼠标滑过的高亮效果和单击行颜色改变
- Asp.net_GridView隔行变色和光棒效果[更新]
- asp.net操作GridView添删改查的两种方法 及 光棒效果
- ASP.NET GridView 光棒效果
- asp.net 里面为GridView添加光棒效果
- asp.net GridView和DataList实现鼠标移到行行变色
- ASP.NET2005 gridview中点击某行的任意位置选中某行 交替效果 变换鼠标手势
- asp.net的 GridView 选中行变色效果、 、
- Asp.net 2.0 GridView的几个事件(如实现: 行的双击/单击/捕捉键盘按键/鼠标悬浮/移出效果)(转)
- C# ASP.net GridView中当鼠标移入或移出某行时,该行变色
- 分享[ASP.NET]GridView鼠标停留变色和单击处理事件
- asp.net gridview 响应鼠标移动,行变色
- Asp.net 2.0 GridView的几个事件(如实现: 行的双击/单击/捕捉键盘按键/鼠标悬浮/移出效果)(示例代码下载)