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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top