Hi,
I'm using the UltraTooltipManager to provide the user some additional information about the cell data. This works fine until the cells become merged. If merged the tooltip will not be shown at all. So what should be done to let the tooltip info appear on merged cells?
TIA,
Ingo
joannemarie said:What version is the UltraToolTipManager in?
I'm not exactly sure whichi build it was released in, but the older version I have on my machine is v6.2 and the UltraToolTipManager exists in that version. It might have been earlier.
The answer from the support team was the following:
Our developers have completed their review of development incident BR31056. They have determined that this is not a bug and have mentioned the following:
"This sample is not using the grid's built-in tooltips. It's using the UltraToolTipManager along with a derived UltraToolTipContextHelperBase class (this class comes from a sample we include with the UltraToolTipManager).
Anyway, the problem here is with the sample project code. This code is checking specifically for a CellUIElement. Merged cells use a different element, though: MergedCellUIElement.
This is easily fixed by changing the PrepareCellToolTip method like so:
#region PrepareCellToolTip
private bool PrepareCellToolTip(Infragistics.Win.UIElement element, Infragistics.Win.UltraWinToolTip.UltraToolTipInfo toolTipInfo) {
//// See if the element is a CellUIElement
//CellUIElement cellElement = element as CellUIElement;
//// If it's not a CellUIElement, return false.
//if (cellElement == null) return false;
// Get the Cell from the CellUIElement
UltraGridCell cell = element.GetContext(typeof(UltraGridCell)) as UltraGridCell;
if (cell == null)
return false;
Infragistics.Win.UltraWinToolTip.UltraToolTipInfo info = cell.Tag as Infragistics.Win.UltraWinToolTip.UltraToolTipInfo;
if (info != null)
{
toolTipInfo.ToolTipTitle = info.ToolTipTitle; toolTipInfo.ToolTipText = info.ToolTipText; toolTipInfo.ToolTipImage = info.ToolTipImage; return true; }
// Return true to indicate that a tooltip should be displayed when the // mouse is over this element.
return true;
}
#endregion PrepareCellToolTip".
Hope this helps,
What version is the UltraToolTipManager in?
Thanks
Ok Mike, I will do that...
Hi Ingo,
Are you using the latest version and Hot Fix?
If so, then you should probably Submit an incident to Infragistics Developer Support