Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2320
Hierarchical grid hangs when UseNestedPanels = True
posted

So this is very difficult to replicate but I thought I'd mention it anyway.

Basically, I have a 3 tier hierarchy. There's only about 10 parent records with four 2nd level records each and varying amounts of 3rd level records. I expand almost all of them in the InitializeRecord event.

 

Now when UseNestedPanels = False, the grid randomly hangs (occasionally on scrolling but mostly on expanding/unexpanding child records) and after some time, one of those dreaded ContextSwitchDeadlock exceptions is thrown. I then have to kill the whole application.(If I comment out the code in InitializeRecord, it seems to take a lot longer to hang but it still does eventually after having expanded everything).

If, however, UseNestedPanels = True, this doesn't seem to happen. Any ideas?

I will attempt to create a sample but I'm not sure if it will be easily replicable.