RichEditText

  • Thread starter Thread starter Mehdi Mousavi
  • Start date Start date
M

Mehdi Mousavi

Hi folks,
I need to populate the RichEditText control with some hyperlinks (as well as
regular lines of text). However, it seems I've to enter one of the following
strings preceding the hyperlinked text, or else, the control will do not
show the text as a hyperlink

http://
mailto:
nntp://
and the like....

The question is that how can I show a hyperlink without displaying the
"http://" portion of the link using the mentioned control.

Any help would be highly appreciated,

Cheers,
Mehdi
 
Mehdi Mousavi said:
Hi folks,
I need to populate the RichEditText control with some hyperlinks (as well as
regular lines of text). However, it seems I've to enter one of the following
strings preceding the hyperlinked text, or else, the control will do not
show the text as a hyperlink

http://
mailto:
nntp://
and the like....

The question is that how can I show a hyperlink without displaying the
"http://" portion of the link using the mentioned control.

Any help would be highly appreciated,

Cheers,
Mehdi
 
No need to specify http://. Richtextbox will dectect url (set DetectURL
property to true) if it starts with www.something.com.

however for email links, you have use prefix mailto: for it to automatically
detect.

Shak.
 
Oh you misunderstood my question. The question is that how can I write
something like "click here" that will point to www.mydomain.com. I would
like the displaying text to be completely different of the pointing URL.

Any idea?
 
Back
Top