CustomDataGrid (c#)
A DataGrid object with mouseover effects build in. using System; /// /// Summary description for CustomDataGrid. /// public class CustomDataGrid { public string ItemStyleMouseOver; public string AlternatingItemStyleMouseOver; public CustomDataGrid() { } protected override void OnItemCreated(DataGridItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item) { e.Item.Attributes.Add(\”onmouseover\”, \”this.className=’\” + this.ItemStyleMouseOver + \”‘\”); e.Item.Attributes.Add(\”onmouseout\”, \”this.className=’\” + this.ItemStyle.CssClass + \”‘\”); } [...]
More »
I am a .NET programmer first and foremost. But in my spare time I like to play around with PHP, Erlang, Haskell, F#,