We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Format Words (Mailaddresses, Domains, Attachments)

Hi there,

I am wondering if there is a way to use the edit control as part of an eMail-Client, e.g. to support "TO"-Textboxes or "Attachments"-Textboxes giving special formats.

What I need is a Control for mailaddresses that
- underlines each address, separated by ";"
- marks the whole single address when clicked

And for attachments:
- underline each item, separated by ";"
- mark the whole single item when clicked

Any chance to do that in EditControl, and if yes: can you create an example for an XML-Configuration-File with its lexems?

Thank you very much

Sascha





3 Replies

NR Nandakumar R Syncfusion Team December 10, 2009 03:01 PM UTC

Hi Sascha,

I regret for the long delay in not updating this forum. I am working on these and I will get back to you tomorrow with the samples for them.

Thanks for your patience.

Regards,
Nanda


MS Mr. Sascha Wald December 16, 2009 12:49 PM UTC

knock knock? Anybody here?

I've fond a solutions for my attachment-problem. I am using linklabel-controls.

That doesn't work for mail/webaddresses, as they appear somewhere in the text of an editcontrol.

any ideas?

regards

sascha


MJ Mano J Syncfusion Team January 8, 2010 09:17 AM UTC

Hi Sascha,

You could the EditControl in SingleLine mode for this purpose. Please refer to the test sample attached here.

You have to manually code to behave as per your requirement, since EditControl doesn't provide inbuilt functionality.

Run the sample and type ";" at the end of the text in the EditControl. Note that the text gets automatically underlined like in Outlook. Also, when Delete or BackSpace key is pressed, it deletes the entire word.

Regards,
Mano



Edit_WF_F91071_b9a43499.zip

Loader.
Live Chat Icon For mobile
Up arrow icon