Are there certain things to keep in mind when merging toolbars (MdiChild - MdiParent). We have seen that the performance is quite low when the toolbars get merged. Is there a way to speed this up? For instance, we never have tools with the same key, so checking that is useless (if Infragistics checks this). It will always be a new key.
Another question is what happens when a MdiChild gets destroyed. Are all the tools that were merged deleted? (and deleted from memory) Or are they kept in the MdiParent toolbarmanager? In our case, the same MdiChild might be created again and merged with the MdiParent (in that case, same keys as before are used, so if they still exist in the MdiParent, there would be duplicate keys). When the MdiChild is destroyed, the toobars also disappear, but are they deleted or just set to invisible?
Hello,
I am not able to see any kind of low performance, when are you getting it exactly?
The tools are not deleted. They are still in the ToolbarsManager collection, they still exist in the manager.Toolbars collection.
Hi Boris,
Support already helped me somewhat with this problem. Apparently I merged them twice by calling RefreshMerge(). Now I left out the RefreshMerge and things go twice as fast. But it is still slow. I don't say it's an Infragistics problem. Sometimes we have some 100 tools that need to be merged... All tools have images, contextual groups, tabgroups, ...
I was just wondering if there are ways to speed up the merging... or if creating the tools in the main toolbarsmanager would be quicker than merging two toolbarsmanagers.
Is there a way to debug the merging? Now everything happens in the Infragistics assembly so I can't really see what's taking so long.
I now there's probably no way to help me further here. Problem is also that I'm using OpenEdge (Progress) together with .NET so the performance problem could also be a OpenEdge problem...
Thx Boris,
Then I think it's better to close this thread.
L.
Hi,
I have never heard of such problem, it could be an OpenEdge issue, but I cannot say for sure. Merging the two toolbars or creating the tools in the main one should not make any significent difference I think in this scenario. Bottomline, I can only guess in this situation. If you want something in particular to be review, I will need a sample so I can examine in myself and proceed further.