SelectIndex=-1 when Item's value=empty if AllowCustomText=True

1 posts, 0 answers
  1. tomexou
    tomexou avatar
    9 posts
    Member since:
    Oct 2010

    Posted 05 Jun 2017 Link to this post

    RadCombox version is 2017 R2 (2017.05.03).

    When user chooses second item: "empty", the SelectedIndex=1 when AllowCustomText=False,
    but SelectedIndex=-1 if the value is empty when AllowCustomText=True.

    I think it's a bug for empty value in AllowCustomText mode.

    <telerik:RadComboBox ID="Type" runat="server"
            <telerik:RadComboBoxItem Text="first" Value="1" />
            <telerik:RadComboBoxItem Text="empty" Value="" />
            <telerik:RadComboBoxItem Text="third" Value="2" />
Back to Top