日期:2014-05-18  浏览次数:20388 次

UltraWebGrid控件如何实现鼠标移动上面就整行变色?
如:datagrid里面
  Private   Sub   DataGrid1_ItemDataBound(ByVal   sender   As   Object,   ByVal   e   As   System.Web.UI.WebControls.DataGridItemEventArgs)
                If   e.Item.ItemType   =   ListItemType.AlternatingItem   Or   e.Item.ItemType   =   ListItemType.Item   Then

                        e.Item.Attributes.Add( "onmouseover ",   "currentcolor   =   this.style.backgroundColor;this.style.backgroundColor   =   '#78A0E6 ' ")
                        e.Item.Attributes.Add( "onmouseout ",   "this.style.backgroundColor   =   currentcolor ")

                End   If
        End   Sub

但是在UltraWebGrid里面就不知道怎么实现了,请大家帮帮忙~~

------解决方案--------------------
不会vb。帮定
------解决方案--------------------
datagrid 写在哪个事件里面,UltraWebGrid 也差不多就是这个事件
------解决方案--------------------
其實是一樣的寫法,寫在相應的事件里不就OK了
------解决方案--------------------
新插件的功能也大都在标准控件上丰富起来的,事件差不多
------解决方案--------------------
还能找不到…… 直接挂接就行了