Dynamic Root List - Binding

Dynamic Root List - Binding

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


bmorris posted on Tuesday, December 11, 2007

I've tried several times to implement DynamicRootList but I always get stuck at the same point. I bind the rootlist to a DataGridView and all the CRUD functions work OK. The problem is when the user starts to enter a new record and part way through changes his mind and hits ESC. The binding mechanism throws an index out of range error and "Index 7 does not have a value".

I downloaded CSLA 3.1 and tried it with VS2008 to see if the problem had evaporated but it hasn't. The Guide to CSLA 3.1 has some strictures on databinding that I think bear on the problem but I can't quite see how.

Any ideas please?

Bob

 

Copyright (c) Marimer LLC