Hi,
I'm using a RadListBox to select an item in a list. There is a scroll in the list box since I have several items in the list. When I'm clicking on an item in the top and the whole item is not visible the SelectedIndexChanged event does not fire. The "clicked" item does not get selected either, it just scrolls the item down the list and makes it "Active" (the css class rlbActive is set to the item I clicked).
To reproduce it use the following code. When the ListBox is loaded, scroll down so the half of the top item in the list is visible. Click that item. The item will not be selected, just "active"...
Thanks in advance
I'm using a RadListBox to select an item in a list. There is a scroll in the list box since I have several items in the list. When I'm clicking on an item in the top and the whole item is not visible the SelectedIndexChanged event does not fire. The "clicked" item does not get selected either, it just scrolls the item down the list and makes it "Active" (the css class rlbActive is set to the item I clicked).
To reproduce it use the following code. When the ListBox is loaded, scroll down so the half of the top item in the list is visible. Click that item. The item will not be selected, just "active"...
Thanks in advance
<telerik:RadScriptManager ID="rsm" runat="server" /> |
<div> |
<telerik:RadListBox ID="rlb" runat="server" Height="100px"> |
<Items> |
<telerik:RadListBoxItem Text="09:30" /> |
<telerik:RadListBoxItem Text="10:00" /> |
<telerik:RadListBoxItem Text="10:30" /> |
<telerik:RadListBoxItem Text="11:00" /> |
<telerik:RadListBoxItem Text="11:30" Selected="true" /> |
<telerik:RadListBoxItem Text="12:00" /> |
<telerik:RadListBoxItem Text="12:30" /> |
<telerik:RadListBoxItem Text="13:00" /> |
<telerik:RadListBoxItem Text="13:30" /> |
</Items> |
</telerik:RadListBox> |
</div> |