Hi There,
Anyone who can help me out in implementing the multiline UltraTextEditor that has a capability same as the rich text?
Im planning to change the windows control RichTextBox into this control (or any infragistics control that will behave as richTexBox) in my current project.
Im currently using the NetAdvantage_20062_CLR2x_WinForms. We already bought the new NetAdvantage for .NET 2008 Vol. 2 and planning to implement this by next month.
Regards
Johan,
You can certainly have multiple links within the same editor, though you won't see the hand cursor by default; in order to see that, you need to press the Ctrl key as well. However, the UltraFormattedTextEditor only supports a small subset of HTML, instead dealing with its own custom XML format; you can see the list of supported tags here.
As for an example value that worked for me that has multiple links in it, the raw value is:
<a href="http://ko.infragistics.com">Link 1</a> some non-link text <a href="http://www.microsoft.com">Link 2</a>
-Matt
I stumbled upon this thread when I was looking for information about the UltraFormattedTextEditor. My scenario is such that I want to handle a big chunk of html-text and display it according to its tags. This means that the text can have multiple, different, links within it. There is an event called LinkClicked, but this doesn't seem to be triggered unless I run with TreatValueAs=URL, which in turn turns EVERTYHING into one link. Is it possible to have many different links in the same text editor? If not, when will it be? We are currently using v8.2 of the infragistics components.
Regards, Johan
The only control that would do this, as far as I can think of, would be the UltraFormattedTextEditor. As I mentioned in my previous post, you should contact developer support to see if it's a bug regarding whether setting the TreatValueAs=URL property should automatically treat anything you type as a URL.
Does infragistics have any of its control that can recognize if the word you typed is hyperlink?
Thanks
Yes, that is the RichTextEditor that I was referring to. As to getting the formatted text editor to automatically treat a value as a hyperlink, I would have thought that setting the TreatValueAs=URL property would suffice for typing in the value, but this only seems to have an effect when you directly set the Value property instead of typing. You should submit an incident with Developer Support to see if they have any further insight, or if this is a bug.