void radGridView1_CreateRow(object sender, GridViewCreateRowEventArgs e) { if (e.RowType == typeof(GridDataRowElement)) { e.RowType = typeof(CustomRowElement); } }
protected override void OnCreateRow(object sender, GridViewCreateRowEventArgs e) { if (object.ReferenceEquals(e.RowType, typeof(GridDataRowElement))) { e.RowType = typeof(RowDetailsRowElement); } base.OnCreateRow(sender, e); }
private void gridOrphans_CreateRow(object sender, GridViewCreateRowEventArgs e) { }