How to get value form select entrise

2 posts, 0 answers
  1. Nitisak
    Nitisak avatar
    6 posts
    Member since:
    Aug 2013

    Posted 02 Dec 2013 Link to this post

    How to get value form select autocomplete entrise 
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 02 Dec 2013 Link to this post

    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

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top