asp.net下让Gridview鼠标滑过光棒变色效果
2010-07-22 00:00
751 查看
//光棒效果 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"); } }
相关文章推荐
- asp.net下怎么实现Gridview鼠标滑过光棒变色效果
- asp.net下让Gridview鼠标滑过光棒变色效果
- asp.net下让Gridview鼠标滑过光棒变色效果
- Asp.Net中GridView加入鼠标滑过的高亮效果和单击行颜色改变
- Asp.net GridView隔行变色和光棒效果2种方法实现
- Asp.Net中GridView加入鼠标滑过的高亮效果和单击行颜色改变
- Asp.net GridView隔行变色和光棒效果2种方法实现
- ASP.NET中GridView实现行鼠标滑过及选择变色
- Asp.net_GridView隔行变色和光棒效果[更新]
- ASP.NET GridView 光棒效果
- asp.net gridview 响应鼠标移动,行变色
- Asp.net 2.0 GridView的几个事件(如实现: 行的双击/单击/捕捉键盘按键/鼠标悬浮/移出效果)(示例代码下载)
- Asp.net 2.0 GridView的几个事件(如实现: 行的双击/单击/捕捉键盘按键/鼠标悬浮/移出效果)(示例代码下载)
- Asp.net 2.0 GridView的几个事件(如实现: 行的双击/单击/捕捉键盘按键/鼠标悬浮/移出效果)(示例代码下载)
- asp.net GridView和DataList实现鼠标移到行行变色
- Asp.net 2.0 GridView的几个事件(如实现: 行的双击/单击/捕捉键盘按键/鼠标悬浮/移出效果)(转)
- Asp.net 2.0 GridView的几个事件(如实现: 行的双击/单击/捕捉键盘按键/鼠标悬浮/移出效果)(示例代码下载)
- C# ASP.net GridView中当鼠标移入或移出某行时,该行变色
- ASP.NET使用Repeater做Table交替行变色、鼠标经过变色及单击变色效果
- asp.net Gridview数据列中实现鼠标悬浮变色