My RadGridView is bound to object defined as:
public class DataElement
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Datatype { get; set; }
public string Size { get; set; }
public bool PrimaryKey { get; set; }
public bool ForeignKey { get; set; }
public List<TagModel> Tags { get; set; }
}
public class TagModel
{
public int Id { get; set; }
public string Name { get; set; }
}
Which binds fine and the child row (of type TagModel) is displayed as expected with the Add New Row option available
When I click on the "Click here to add a new row" a new row is added in the grid but after entering in data the row is not actually created. It goes away if I collapse the parent row and nothing is added to the bound Tags list. This appears to work fine with Datasets but not with objects. I have tried handling different events but none seem to fire as I would have expected. I am currently evaluating this product and I really need this to work in order to move forward with purchasing this product.
public class DataElement
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Datatype { get; set; }
public string Size { get; set; }
public bool PrimaryKey { get; set; }
public bool ForeignKey { get; set; }
public List<TagModel> Tags { get; set; }
}
public class TagModel
{
public int Id { get; set; }
public string Name { get; set; }
}
Which binds fine and the child row (of type TagModel) is displayed as expected with the Add New Row option available
When I click on the "Click here to add a new row" a new row is added in the grid but after entering in data the row is not actually created. It goes away if I collapse the parent row and nothing is added to the bound Tags list. This appears to work fine with Datasets but not with objects. I have tried handling different events but none seem to fire as I would have expected. I am currently evaluating this product and I really need this to work in order to move forward with purchasing this product.