This is a migrated thread and some comments may be shown as answers.

RadCombox OnSelectedIndexChanged not triggered

1 Answer 59 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
jialiang_liu
Top achievements
Rank 1
jialiang_liu asked on 17 Sep 2008, 03:28 PM
I have a RadCombobox Ajax recently migrated from the classic RadCombobox

<

telerik:RadComboBox ID="si_calculation_combobox" runat="server" AutoPostBack="True" OnSelectedIndexChanged="calculation_combobox" Width="170px" Height="300px"></telerik:RadComboBox>

The OnSelectedIndexChanged event is not triggered for some reason. I am really clueless why this is happening (in this case, not happening). Does anyone experience this before?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 18 Sep 2008, 05:33 AM
Hi,

The SelectedIndexChanged event of the RadComboBox must fire properly on setting the AutoPostBack property to true. Have you set any Validators on the page? If so set CausesValidation property for the RadComboBox to false.

ASPX:
<telerik:RadComboBox ID="RadComboBox1" AutoPostBack="true"  CausesValidation="false"   runat="server" OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged" > 
         <Items> 
           <telerik:RadComboBoxItem  Text="London" /> 
           <telerik:RadComboBoxItem  Text="Italy" /> 
         </Items> 
         
        </telerik:RadComboBox> 

Thanks
Shinu.
Tags
ComboBox
Asked by
jialiang_liu
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or