I’m upgrading our project to use the latest 9.2 release and have run into a problem. We are using the InitializeRecord event to set the ActiveRecord when loading a data grid as prescribed in http://community.infragistics.com/forums/p/5099/23352.aspx#23352 . This worked fine in the earlier release, but with the 9.2 release, it locks up every time. I’ve been able to replicate this and have attached a sample app through which you can replicate it as well. I did find that if the DataSource is set in the constructor rather than in the Loaded event, the lockup does not occur. However, we use this technique numerous places in our application via the Loaded event, so moving it into the constructor is not that simple. Let me know if you need any more information.
Thanks
Dan
Hello,
I apologize that no one has yet answered this post. We were inundated with more posts than we had resources to cover. Since that time we have been adding people to the task of making sure every post gets a reply from an Infragistics employee.
I looked at your code project. It appears that the line in your Record activation handler that assigns the 0th record is causing the same handler to be called. This results in an endless recursive loop.
Thus setting the active record is not necessary in that handler. If you need more help, please let me know.
FYI: next time you encounter a crashing issue in a reproduciblesample, please send it to developer support. Support handles requests immediately, while the forums is more of a knowledge sharing, community effort solution finding forum.
Support Requests:http://ko.infragistics.com/support/submitrequest.aspx
Thank you!