Hi,
I am using tool tips to display errors when a user tries to save a form. If after display the errors, user successfully saves the form then i want to remove all tooltips from the manager. How do i go about that?
I'm not sure I understand the question. When you say "remove" the tooltips, do you mean you just want to stop showing the tooltip? If that's what you mean, then you can do something like this:
this.ultraToolTipManager1.HideToolTip();
No I mean remove all tooltips and start over again. as it was in the begining(before adding any tooltips)
I tried to instantiate a new tooltip manager but it showed more than one tooltip when i tried it second time..
Well the tooltipmanager keeps tooltips based on each control. So I don't know if there is any way to clear everything for every control at once.There probably should be a ResetUltraToolTip method which takes a control. But I don't see one on the control. That might be an oversight. So what you can do is call SetUltraTooltip and pass in the control and null.
this.ultraToolTipManager1.SetUltraToolTip(this.ultraTextEditor1, null);