Group: Forum Members
Posts: 2K,
Visits: 6.6K
|
I have a user control that I've implemented IBusinessBindable on. It works great (or did until my last update). I'm now getting an error indicating an index is out of range. This is occuring in the SF BusinessLayer.RefreshValue() method, on the loBinding.ReadValue() call. This doesn't occur all the time. It only occurs in some specific situations:
Situation 1: when the BO goes into edit mode, when the user control has a value AND the tab (standard MS TabControl) containing the user control hasn't been visited. If I click on the tab before clicking on Edit, it works.
Situation 2: if I'm on an existing record were the user control has a value, then click on New. This is completely independent of any tab visiting I might have done.
Now, I'm sure I've broken something. The SF code and the .NET code haven't changed, but mine has. Unfortunately, there were a lot of changes before I noticed this. I don't see anything obvious in either the control, the form or the BO. I'm not sure were to even start looking. What could break ReadValue in this way?
Thanks!
|