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
180
Highlighting text fails in ultracombo
posted

 

Hi

We have a drop down combo control that highlights text as you type by setting the column style to

ColumnStyle.FormattedText

and putting this around the text that we want highlited

 

 

 

SPAN_START = @"<span style=""color:lightgreen;font-weight:bold;"">";

 

 

 

 

SPAN_END = "</span>";

 

 

The stand alone control works fine,

 putting inside another controls works fine in our application works fine

but using in a control, on a control, on a control.... (about 5 levels deep) seems to stop it from working.

and the control just shows the actual (unformatted) span text as shown above.

Even at runtime when we set the column style, checking in the debugger shows it is set correclty.

In fact we've tested it at different levels deep and it breaks just at the level we want it.

A sample project would be impossible; you'd need our whole applciation.

So I'm asking for a clue as to what to look for or what could be overriding it.

On thing I can think of is that we are applying a style to the control, but again this works another level up,

in any case the style should only change appearance.

Parents
  • 469350
    Offline posted

    Hi,

    The UltraCombo control's edit portion doesn't support formatted text, so I assume you are referring to a cell in the dropdown list on the UltraCombo?

    If that's the case, I cannot see any reason why nesting the control should make any difference. My best guess is that you may be applying this formatted text string to the wrong control or the wrong cell. If you have a lot of nested levels, it might be easy to mix up the controls.

    BTW... what actually displays in the cell? Is it showing the raw XML? Or does it show the text (">") with no formatting?

Reply Children