Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
475
Setting tooltip on a UltraGrid cell dynamically
posted

I have an UltraGrid with cascading dropdown controls in a few columns.  Depending on the value of one dropdown control, I would like to change the ToolTipText property on the next column cell in that row.  I tried setting it in the UltraGrid's BeforeCellListDropDown event and below is the result.

I added a UltraToolTipManager and set the following

ruleTooltipManager.SetUltraToolTip(secondChoiceDropdown, new Infragistics.Win.UltraWinToolTip.UltraToolTipInfo("Select a Category", Infragistics.Win.ToolTipImage.None, null, Infragistics.Win.DefaultableBoolean.True));

That results in an empty tooltip bubble when hovering over the cell.  In fact, there's an empty tooltip bubble when hovering over any cell.

The next method, on a cell with a dropdown control that is populated in BeforeCellListDropDown

e.Cell.Row.Cells[ColumKey].ToolTipText = "Select a Category";

Nothing happens when hovering over that cell (I had a breakpoint on that line and it hit it)

Parents Reply Children
No Data