Binding BusinessCollectionbase to NetAdvantage Grid v6.1

Binding BusinessCollectionbase to NetAdvantage Grid v6.1

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


Pradeep posted on Monday, May 15, 2006

Hi,
I have a CustomerList collection inheriting from CSLA BusinessCollectionBase. This is a collection of Customer object which again is inheriting from CSLA BusinessBase object.
 
I am using NetAdvantage's UltraGrid in my UI. When I set the ugGrid.DataSource = CustomerList, I am able to see all the properties listed. But I am not able to edit any of the properties.
 
I have set the AllowUpdate to true. I am not sure why it is not leting me update it.
 
Has any one of you come across this issue and could you guys help me fixing it.
 
Thank you in advance.
 
 

Pradeep replied on Monday, May 15, 2006

I figured out the problem.
 
By Default in BindableCollectionBase the AllowEdit is set to false. I had to set it to true to enable updating the collection....
 
Not sure why it is set to false by default... Have to read the book.....
 

Copyright (c) Marimer LLC