Hi,
I'm having problem with ultraToolBarManager (with ribbon) and Gantt chart.
When I draw something in the ganttchart the ultratoolbar seems to lose its docking and resize doesn't work correctly.
Basically when I resize the form, the toolbar and its embedded controls keep their size, and a shadow (probably the form) is resizing (look the image below)
The problem sometimes doesn't appear but removing/adding blocks in the gantt several times always get to the improper functioning.
I have infragistics 9 (9.2.20092.2042) installed.
I have reproduced it in a little project (attached here) if you want to debug it.
Launch it, click on "Fill gantt" button in the ribbon and try to resize form. If everything is well-working, try to click another time and re-try to resize. Typically if the first time the problem doesn't appear, the second one sure it does.
Thanks in advance for any help.
I've tried your code, but a little tooltip is still visible (as shown in the image below)
I had already tried a similar approach (i.e. hiding tooltip by setting it transparent) but it had never worked.
Anyway, this is not a big issue for me (the little almost invisible tooltip is acceptable), but If you find a valid workaround I will be happy to use it.
Thanks for the help Teodor
(and for putting aside the Jedi-Sith ancient rivalry too :P )
Regards,
Marco
Ok, I was able to reproduce it. There is some issue and I’ll try fixing it. Until then try hiding the tooltips with:
this.ganttChart.Tooltips.FormatString = " ";
PaintElement pe = new PaintElement(Color.Transparent);
pe.Stroke = Color.Transparent;
this.ganttChart.Tooltips.PE = pe;
Sorry, probably I didn't explain well...
anyway the problem is very simple to reproduce:
1 - add a ultraToolBalManager to a form and show ribbon
2 - add an ultrachart and dock it in the main container below the ribbon
3 - set ultrachart tooltips.Format to Custom with an empty FormatString
4 - show something in the chart and pass over an item
5 - try to resize the form --> the behavior is not correct
(or use my attached project, to try it faster)
I've tried to do what you said (after InitializeComponent in the constructor of my form) but doesn't work.
To be more clear, my custom TooltipManager is shown manually in DataItemOver-Out events (because I didn't find a way to replace the default tooltip control of the ultrachart).
Thanks for the help
I’m not really sure what the issue is, but you can try this code:
this.userControlUltraChart1.Tooltips.TooltipControl = null;
this.userControlUltraChart1.Tooltips.UseControl = true;
I still have a problem with that...
I'll sum up my problem:
1 - I have to hide ganttchart default tooltips because I show my tooltip manager.
2 - I cannot completely disable tooltips because I still need highlighting feature (coming with tooltips)
so I've set the format to None
3 - when I pass over an item, the tooltip is correctly not showed, but the ribbon loses its docking (as shown in the first post)
4 - checking at runtime, the tooltips Format is set to Custom (but I set it to None...) and FormatString is empty
5 - The only way to avoid undocking bug, is setting at least one character in the formatString (and obviously set it to custom)... but in this way a little tooltip is shown...
Any solution ?