This is a migrated thread and some comments may be shown as answers.

To Address like Gmail

2 Answers 132 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Akhil Raj
Top achievements
Rank 1
Akhil Raj asked on 19 Jan 2010, 03:50 PM
hi,
  i am some new to telerik rad control for asp.net ajax... Now my actual scenario is ...

-> want to implement a mail system and i want to show the "To address" just like gmail.
-----------------------------------------------------------------------------------------------------------------
   - So when i press a letter the email list filtered with "contains"
   - Want to show email list with multiline textbox ie input area
 
Actually i implemented with rad combo box and used filter concept. but some constraints i want help

1. when no text entered don't want to show the drop down
2. Can i change the input are to multiline  mode?

Please give a solution for this...? Any other control help about this concept..?
 

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 Jan 2010, 06:53 AM
Hello Akhil Raj,

Here is the code that I tried to achieve same functionality. Give a try with this.

aspx:
 
<telerik:RadComboBox ID="RadComboBox1" runat="server"  
    DataSourceID="SqlDataSource1" MarkFirstMatch="true" 
    DataTextField="mailId" Filter="Contains" EmptyMessage="Type an E-mail" 
    AllowCustomText="true" AutoCompleteSeparator=";" ShowDropDownOnTextboxClick="False"
 
</telerik:RadComboBox> 
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" 
    SelectCommand="SELECT * FROM [Details]"
</asp:SqlDataSource> 
Also checkout the following demo: ComboBox / Autocomplete

And I guess multiline combobox is not possible. checkout the forum post which discusses same scenario.
Multi-line Combo-box

-Shinu.
0
Akhil Raj
Top achievements
Rank 1
answered on 20 Jan 2010, 03:30 PM
thanks friend....  i tried that scenario with load on demand (using LIKE operator).. and working nicely

but multiline not get so only asked..

Now i implemented same with filter but can i overcome the follwing issues

1. want to avoid dropdown when not have text

Tags
ComboBox
Asked by
Akhil Raj
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Akhil Raj
Top achievements
Rank 1
Share this question
or