Completed
Last Updated: 29 Feb 2016 08:25 by ADMIN
ADMIN
Dimitar
Created on: 17 Feb 2016 09:21
Category: GridView
Type: Bug Report
0
FIX. RadGridView - NullReferenceException when one is adding new row and the data object does not have a parameterless public constructor.
To reproduce:
public partial class Form1 : Form
{
	public Form1()
	{
		InitializeComponent();
        var data = new List<Thing>();
        this.radGridView1.DataSource = data ;
        this.radGridView1.DataError += RadGridView1_DataError;
	}

    private void RadGridView1_DataError(object sender, Telerik.WinControls.UI.GridViewDataErrorEventArgs e)
    {
       
    }

    public class Thing
	{
		private Thing() { }
	}
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments