want to implement the same functionality for ultragrid row created ..
protected void OnRowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { DataRowView drv = e.Row.DataItem as DataRowView; if (null != drv) { Object ob = drv["ProductID"]; e.Row.Cells[1].Attributes.Add("onmouseover", "onMouseOnRow('" + ob.ToString() + "');"); e.Row.Cells[1].Attributes.Add("onmouseout", "onMouseOutOfRow();"); e.Row.Attributes.Add("onmouseover", "this.className='hightlighrow';"); e.Row.Attributes.Add("onmouseout", "this.className='normalrow'"); } } }
I'm not sure I understand the question, but it looks like maybe you want the InitializeRow event.
Hi also need the same information. Have you got the answer.