Hello,
I have a small terminal type app that displays some data in a RadTextBoxControl as it arrives. Events are fired and data is displayed on the screen by way of the RadTextBoxControl. That part works great.
When certain strings arrive, I'd like to replace it with a hyperlink or button of sorts. I found the example for Creating Custom Blocks (https://docs.telerik.com/devtools/winforms/controls/editors/textboxcontrol/creating-custom-blocks) and this looked really promising. But, the issue I had there is that this event fires on on lots of different characters. Meaning, you can't use it to parse out a line of text and then replace it with a custom object. You parse each block as it comes in.
Ideally, I want certain types of text, like "<link cmd=".cm*">Run custom command</link>" to be replaced with some text that looks like "Run custom command" but in a way that it acts like a hyperlink where I can register for its click event and do whatever I need to do. This is proving to be pretty tricky for me but I have a feeling Telerik controls probably have a way :)
Thanks,
Michael