This question is locked. New answers and comments are not allowed.
hi guys.
i have a problem in binding open acess datasource to radcomboBox,
i have a combobox with an empty item (like this : combo.Items.Insert(0, new RadComboBoxItem("",String.Empty)); )
and it's bound to a foreign key filed in radGrid. but when trying to insert or update with empty value of comboBox, javaScript error occurred(Input string was not in correct format).
but when inserting with selected a value from comboBox it's worked properly.
even added insert parameter like this:
<InsertParameters>
<asp:Parameter ConvertEmptyStringToNull="true" DbType="Int32" Name="tblBankID" DefaultValue="0" />
</InsertParameters>
but not worked.
help me plz.
i have a problem in binding open acess datasource to radcomboBox,
i have a combobox with an empty item (like this : combo.Items.Insert(0, new RadComboBoxItem("",String.Empty)); )
and it's bound to a foreign key filed in radGrid. but when trying to insert or update with empty value of comboBox, javaScript error occurred(Input string was not in correct format).
but when inserting with selected a value from comboBox it's worked properly.
even added insert parameter like this:
<InsertParameters>
<asp:Parameter ConvertEmptyStringToNull="true" DbType="Int32" Name="tblBankID" DefaultValue="0" />
</InsertParameters>
but not worked.
help me plz.