Hi,
how do i bind the foreignkey in GridViewComboBoxColumn which item source from DataTable.
this is what I have so far but it does not display the value but the combox was correctly populated
how do i bind the foreignkey in GridViewComboBoxColumn which item source from DataTable.
this is what I have so far but it does not display the value but the combox was correctly populated
<telerik:GridViewComboBoxColumn DataMemberBinding="{Binding PaymentTypeID}" Header="Payment Type"DisplayMemberPath="PaymentTypeID"SelectedValueMemberPath="{Binding PaymentTypeID}"ItemsSource="{Binding PaymentType}">
</telerik:GridViewComboBoxColumn> public DataView PaymentType { get { if (paymentType == null) { paymentType = populateDataTable(); } return paymentType.DefaultView; } }