Hi, everyone
I have two UltraTree's in my UI. The 2nd one is just a copy (I did a ctrl-c as to have the same properties as the 1st). The 1st tree doesn't require me to call any beginupdate or endupdate function calls whenever I make changes to the nodes (for example if i change a node image) for the tree to update, but the 2nd copied Tree does require me to call beginupdate and endupdate whenever I make changes to get the same functionality as the 1st Tree. I've looked at the properties and they look the same. Any idea why the 2nd tree would act differently than the 1st tree since I just did a copy? Is there a property I should look at on the 2nd tree? The property I thought that would affect this is UpdateMode, but both Trees have it set to "OnActiveNodeChangeOrLostFocus"... They're both docked using the UltraDockManager if that has anything to do with it...any help much appreciated.
Sorry for all of the extra posts, Mike, but my last "solution" wasn't one at all...Finally I narrowed it down to the file settings being saved/loaded. So what I'm having to do now is save the UltraTree via the SaveAsBinary(stream) and then reload via LoadFromBinary(stream) methods. This fixes my issues.
Mike, I seem to have found the solution to my problem. As I mentioned before, when my app initially loads the settings file I don't have to call beginupdate and endupdate, When I reload the settings file I do. However, before I load the settings file, I now call UltraTree.Invalidate(). This fixed my drawing problem. Thanks again.
Ok, thanks for all of your help.
I'm afraid I really can't explain it. Your best bet would be to create a small sample project that demonstrates the issue and Submit an incident to Infragistics Developer Support so they can take a look and figure out what's happening.