Jan 28, 2016, 8:21 AM
[CLOSED] ComboBox has no SelectedIndex property
Dears,
I have the following ComboBox definitions:
What I should do?!
Regards,
Alaswad
I have the following ComboBox definitions:
<ext:ComboBox Flex="1" ID="ddlAccountType" runat="server" LabelAlign="Left" FieldLabel="Account Type">
<Items>
<ext:ListItem Text="Customer" Value="Customer"></ext:ListItem>
<ext:ListItem Text="Supplier" Value="Supplier"></ext:ListItem>
</Items>
</ext:ComboBox>
I want to test, whether the ComboBox has selection or not: If ddlAccountType.SelectedIndex > -1 Then
End If
This is the error I get: 'SelectedIndex' is not a member of 'Ext.Net.ComboBox'.
What I should do?!
Regards,
Alaswad
Last edited by fabricio.murta; Feb 08, 2016 at 6:35 PM.