Hi,
I'm using Infragistics for winforms version 11.
I use a UltraFormattedTextEditor to display text to my application. I give the opportunity to my users to search the database for many words in their search query, for example they can search and find records that contain either one of the following words: "cat", "dog", "human".
Then I use the ultraFormattedTextEditor to display the full string. How can I set the ultraFormattedTextEditor to select ALL the instances of these words? If for example the word "cat" appears 3 or 4 times, I would like to highlight all these instances. And if the text contains both "cat" and "dog" I would like to highlight every instance of these words.
Thanks,
Thanks man!
It works like a charm!!! Thanks again!
See attached. Note that this sample changes the "search results" in response to a TextBox's TextChanged event, which for large strings might have performance issues, in which case you could move it to a button click or something.