Wednesday, June 11, 2014

Pluck out just the immediate object from a list of T hydrating a DevExpress ASPxGridView in C#.

What follows kind of goes with this.

protected void FooGrid_CommandButtonInitialize(object sender,
      ASPxGridViewCommandButtonEventArgs e)
{
   var grid = sender as ASPxGridView;
   Foo foo = grid.GetRow(e.VisibleIndex) as Foo;

No comments:

Post a Comment