[CLOSED] Possible to Extending Custom Search Combo Box

  1. #1

    [CLOSED] Possible to Extending Custom Search Combo Box

    Hello,

    I am using a custom search combo box to search for contacts in an address book.
    Once a contact has been found I can then select the contact and the custom search combo box is populated with the value of the contact's email address.
    The template of the custom search combo box looks like this:
                            <Template runat="server">
                                <Html>
                                    <tpl for=".">
                                        <div class="search-item">
                                            <h3>{Name}</h3> 
                                            <p>{EmailAddress}</p>
                                            <hr />
                                        </div>
                                    </tpl>
                                </Html>
                            </Template>
    Pretty standard so far.

    What I would like to be able to do though is to:

    • find a contact,
    • select the contact from the list,
    • the contact's email address populates the combo box,
    • then search for another contact whos email address is also inserted into the combo box,
    • the result being that both contacts' email addresses are now in the combo box.



    Can it be done?
    Last edited by Daniil; Jul 11, 2011 at 9:29 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Would you like to use a single ComboBox to search and to store results? Not sure how it should looks.

    As far as I can see this requirement you can use a ComboBox to search and, for example, a Panel (or a second ComboBox, etc.) to store found contacts.
  3. #3
    Sorry I should have explained better.

    In Microsoft Outlook when you create a new Email to send to someone you type in either their email address into the To (or Cc or Bcc) field. This results in an autocomplete popup appearing which lets you choose from a list of matched recepients. I can already implement this type of feature following your custom combo example and using the
    <tpl>
    tags.

    My problem, however, is that I cannot replicate this functionality for multiple selections; ie: I want to be able to choose multiple recipients, not just one. So I will type in one name, then click it to choose. Then I want to be able to type in another name, choose it as well and have it added to my selection.
  4. #4
    Thanks for the details.

    Unfortunately, there is no such control in Ext.Net and it would be too hard to implement that behavior in the context of a common ComboBox.

    We are planning to include the control in Ext.Net v.2 that can suite your needs, but we can't provide you with any time frame when it will be included.

Similar Threads

  1. Replies: 12
    Last Post: Dec 25, 2012, 11:55 AM
  2. text search in combo box
    By Mr.Techno in forum 1.x Help
    Replies: 8
    Last Post: Dec 30, 2011, 5:14 AM
  3. [CLOSED] combo box search
    By Vasudhaika in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 10, 2011, 4:59 AM
  4. Paging in Live Search Combo...
    By kabalkunz in forum 1.x Help
    Replies: 2
    Last Post: Oct 27, 2011, 3:04 PM
  5. combining custom search combo in grid
    By kumarxlnt in forum 1.x Help
    Replies: 0
    Last Post: Sep 24, 2009, 7:37 AM

Posting Permissions