Hello!
I'm having an issue with the RadComboBox control. I have noticed that when there are 2 items that have the same name, let's call them "Combo1", the event SelectedIndexChanged doesn't fire if the user is selecting the second "Combo1" while the current selection is the first "Combo1", or viceversa.
Here's a sample with which I've reproduced the issue:
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<asp:scriptmanager runat="server"></asp:scriptmanager>
<telerik:RadComboBox id="ComboBox1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ComboBox1_SelectedIndexChanged">
<Items>
<telerik:RadComboBoxItem Text="Combo1" />
<telerik:RadComboBoxItem Text="Combo2" />
<telerik:RadComboBoxItem Text="Combo1" />
</Items>
</telerik:RadComboBox>
</form>
</body>
</html>
using System;
using System.Web.UI;
namespace WebApplication2
{
public partial class WebForm1 : Page
{
protected void ComboBox1_SelectedIndexChanged(object sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
{
}
}
}
Am I doing something wrong or is this a bug? Is there a workaround that I could use in order to get it to work properly?
Best Regards,
Andrei