Radcombobox search

2 posts, 0 answers
  1. Remya
    Remya avatar
    30 posts
    Member since:
    Feb 2012

    Posted 04 May 2012 Link to this post


    I am having a radcombobox which gets populated in ItemsRequested event.I have set IsCaseSensitive to false.All my Items are in uppercase.When i enter an uppercase text it filters correspondingly and i am able to get selectedvalue but when i enter a lowercase text it filters but unable to take selectedvalue.

    Plz help
    Thnx in advance
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 04 May 2012 Link to this post

    Hi Remya,

    Try setting MarkFirstMatch property of RadComboBox to true.

    <telerik:RadComboBox ID="RadCombobox1" AllowCustomText="true"  AutoPostBack="true"  runat="server" EnableLoadOnDemand="true"  IsCaseSensitive="false" MarkFirstMatch="true" OnItemsRequested="combo_onitemRequested" onselectedindexchanged="RadCombobox1_SelectedIndexChanged" >

    protected void RadCombobox1_SelectedIndexChanged(object sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
           string value= RadCombobox1.SelectedValue.ToString();

    Hope this helps.

Back to Top