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

How to get value form select entrise

1 Answer 114 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Nitisak
Top achievements
Rank 1
Nitisak asked on 02 Dec 2013, 07:52 AM
How to get value form select autocomplete entrise 

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 02 Dec 2013, 10:18 AM
Hi Nitisak,

I guess you want to get the selected entries of the RadAutoCompleteBox. Please try the following code snippet i have accessed the values on a button click.

ASPX:
<telerik:RadAutoCompleteBox ID="RadAutoCompleteBox1" runat="server" DataSourceID="SqlDataSource1" DataTextField="ShipCountry" AllowCustomEntry="True" >
</telerik:RadAutoCompleteBox>
<asp:Button ID="BtnEntries" runat="server" Text="Get Entries" Onclick="BtnEntries_Click" />

C#:
protected void BtnEntries_Click(object sender, EventArgs e)
 {
  string entries = RadAutoCompleteBox1.Entries.ToString(); 
 }

Thanks,
Princy

Tags
AutoCompleteBox
Asked by
Nitisak
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or