OT: Problem with adding new (BO) data to a Infragistic grid

OT: Problem with adding new (BO) data to a Infragistic grid

Old forum URL: forums.lhotka.net/forums/t/890.aspx


leyh posted on Monday, August 14, 2006

Hi,

Has anyone encountered this problem before?

I am trying to enable the in-built AddNew button that comes with the grid. Though I can bind my BO class to the grid, which does display the data, I can't add new data via the UI.

For some reasons the whole grid including the button is disabled (greyed out).

I am using CSLA.Net 2.03.

What am I missing something here?

Thanks!

Leyh

leyh replied on Monday, August 14, 2006

I am sorry to reply my own post.

I found out what the problem was. BusinessListBase.AddNewCore needs to be overrriden, because the constructor of the child item is hidden by the factory constuctor.

Thank you Andy (ajj3085) for pointing that out!

Leyh



ajj3085 replied on Monday, August 14, 2006

leyh:
Thank you Andy (ajj3085) for pointing that out! Leyh


I did?

Copyright (c) Marimer LLC