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.
Unfortunately, activation email could not send to your email. Please try again.

Creating an Outlook ''To'' control

Thread ID:

Created:

Updated:

Platform:

Replies:

68436 Sep 21,2007 07:18 AM Nov 5,2007 06:06 AM Windows Forms 3
loading
Tags: Tools
Russell Coombes
Asked On September 21, 2007 07:18 AM

Hi Guys,

I need to create a control similar to the one used by Outlook for managing list of recipients, ie, the TextBox to the right of the 'To' or 'Cc' buttons on a new Outlook message.

So, the control needs to be able to allow the users to type in text. That text needs to be accepted as an item that can then be deleted but NOT edited. Furthermore, the TextBox must grow as the number of items increases. Additionally, the control must offer 'AutoComplete' as the user types into the list.

I don't even know where to start to begin this control! Would you guys at Syncfusion kindly offer me some suggestions as to what I can use to complete the above functionality?

Regards,
Russell

Administrator [Syncfusion]
Replied On September 24, 2007 10:04 AM

Hi Russell,

Thank you for using Syncfusion products.

Please refer the following update :

1) That text needs to be accepted as an item that can then be deleted but NOT edited

To achieve this, you can add list of items using TextBoxExt. Each item that are typed into TextBoxExt must be ended with unique special character for identification purpose. But you cannot directly delete each item since TextBoxExt treats whole text as a single item. You need to write custom functions for deleting items using Trim functions.

2) TextBox must grow as the number of items increases.

You can increase the TextBoxExt length according to number of special characters added into it.

3) AutoComplete support
You cannot have direct AutoComplete support for each items entered in a TextBoxExt. You need to customize AutoComplete class to achieve this.

You can also use MaskedEditBox control for this.

We are working on the sample and update you once it is done.

Please let us know if you have any other queries.

Regards,
Jaya

Russell Coombes
Replied On October 31, 2007 05:42 PM

Hi Guys,

The management here is now pushing more strongly for this control to be implemented.

Were you able to create the sample as promised? We'd be most grateful if you have!

Regards,
Russell

>Hi Russell,

Thank you for using Syncfusion products.

Please refer the following update :

1) That text needs to be accepted as an item that can then be deleted but NOT edited

To achieve this, you can add list of items using TextBoxExt. Each item that are typed into TextBoxExt must be ended with unique special character for identification purpose. But you cannot directly delete each item since TextBoxExt treats whole text as a single item. You need to write custom functions for deleting items using Trim functions.

2) TextBox must grow as the number of items increases.

You can increase the TextBoxExt length according to number of special characters added into it.

3) AutoComplete support
You cannot have direct AutoComplete support for each items entered in a TextBoxExt. You need to customize AutoComplete class to achieve this.

You can also use MaskedEditBox control for this.

We are working on the sample and update you once it is done.

Please let us know if you have any other queries.

Regards,
Jaya

Administrator [Syncfusion]
Replied On November 5, 2007 06:06 AM

Hi Russell,

Sorry for the delayed response.

Your requirement can be achieved by displaying AutoComplete list for each entries in the TextBoxExt separated by comma.

This can be done in AutoCompleteItemSelected and AutoCompleteCustomize event handlers.

Please refer the below sample that demonstrates the same and let me know if you have any further queries.

http://websamples.syncfusion.com/samples/Tools.Windows/F68436/main.htm

Regards,
Jaya


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;