how can i change the back color on mouse out to the color specified in gridview
来源:互联网 发布:医药类数据库有哪些 编辑:程序博客网 时间:2024/04/29 17:57
http://www.thescripts.com/forum/thread614321.html
you can do it using css
..row1
{
background: #CECECE;
}
..row2
{
background: #DEDEDE;
}
..row1:hover, .row2:hover
{
cursor: pointer;
background-color: orange;
}
so, in this case your grid coding should be
<RowStyle CssClass="row1"></RowStyle>
<AlternatingRowStyle CssClass="row2"></AlternatingRowStyle>
http://forums.asp.net/thread/1638409.aspx
Quote:
Originally Posted by
how can i change the back color on mouse out to the color specified in
the grid view declaration
>
the grid view declaration
>
you can do it using css
..row1
{
background: #CECECE;
}
..row2
{
background: #DEDEDE;
}
..row1:hover, .row2:hover
{
cursor: pointer;
background-color: orange;
}
so, in this case your grid coding should be
<RowStyle CssClass="row1"></RowStyle>
<AlternatingRowStyle CssClass="row2"></AlternatingRowStyle>
http://forums.asp.net/thread/1638409.aspx
- how can i change the back color on mouse out to the color specified in gridview
- How to: Change color of rows in GridView on mouseover
- How to change the text color on UINavigationBar button items
- Change the BLACK background on datawindow on column moving and mouse selection to system color
- 怎样控制Qt标题栏(How can I handle events in the titlebar and change its color etc ? )
- 怎样控制Qt标题栏(How can I handle events in the titlebar and change its color etc ? )
- How to change the text color of the selected property sheet tab in Visual C++
- How To Change the Background Color of a Tab Control
- How to change the color of a CEikLabel
- How to change the menu item font color individually
- how to change the background color of actionbar
- qt 之 How to Change the Background Color of QWidget
- How to change the Text color of Menu item in Android?
- change the color scheme in vim
- How to color the Git console in Ubuntu?
- How to change the back button behaviour
- How to Find the Prefect Color?
- NSButton how to color the text
- 面向对象设计的原则
- 大沙发
- Java~栈的数组表示
- NET工程师求职面试必杀技
- 软件企业质量保证的基石――QA、QC的良性协作
- how can i change the back color on mouse out to the color specified in gridview
- 人力资源开发与管理
- 转:java面试32问
- 站点地图(1)
- singleton 单例模式
- 网上大多数原理总结,UDP打洞原理.
- fread和fwrite
- 站点地图(2)
- compile PHP_to_exe file