Hello again, I found an error, is as follows, have 2 columns in a DataGrid control multicombobox in the first 2 columns show the control in the datagrid multicombobox and the second control sample 3 columns, the error occurs when entering edit mode, I explain the steps:
multicombobox first entrance, is running normally, in the event CellBeginEdit admission the following code:
this code is executed to perfection, after having entered the first multicombobox, I will enter the second column which contains the second multicombobox, as I said earlier this control contains 3 columns and have the following code on the previous event:
this code sends me an error in the last line tells me that the control contains 3 columns but not 2, not recognized by the third, although I corrected the table which has 3 columns basa if, in my opinion this is wrong occasions because the control contains 2 columns of another multicombobox in the first column of my datagrid and glass that the error only occurs if the first entry in Edit mode in multicombobox that contains 2 columns, but only if that income contains 3 columns works as if nothing happened, I hope I can help with this error and thank you for all the help I provide.
Edit: Giving hope to understand, I do not speak English well.
multicombobox first entrance, is running normally, in the event CellBeginEdit admission the following code:
CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). DropDownSizingMode = SizingMode.UpDownAndRightBottom |
CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). ValueMember = "Code" |
CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). DisplayMember = "Country" |
CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). Data_bitacora.dataset.Tables DataSource = ( "mars_pais) |
CType (CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). EditorControl, RadGridView). Data_bitacora.dataset.Tables DataSource = ( "mars_pais) |
CType (CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). EditorControl, RadGridView). Columns (0). Width = 100 |
CType (CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). EditorControl, RadGridView). Columns (1). Width = 300 |
this code is executed to perfection, after having entered the first multicombobox, I will enter the second column which contains the second multicombobox, as I said earlier this control contains 3 columns and have the following code on the previous event:
CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). DropDownSizingMode = SizingMode.UpDownAndRightBottom |
CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). ValueMember = "Code" |
CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). DisplayMember = "Department / State |
CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). Data_bitacora.dataset.Tables DataSource = ( "mars_departam as d, as mars_pais p") |
CType (CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). EditorControl, RadGridView). Data_bitacora.dataset.Tables DataSource = ( "mars_departam as d, as mars_pais p") |
CType (CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). EditorControl, RadGridView). Columns (0). Width = 100 |
CType (CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). EditorControl, RadGridView). Columns (1). Width = 100 |
CType (CType (RadGVBitacoras.ActiveEditor, RadMultiColumnComboBoxElement). EditorControl, RadGridView). Columns (2). Width = 300 |
this code sends me an error in the last line tells me that the control contains 3 columns but not 2, not recognized by the third, although I corrected the table which has 3 columns basa if, in my opinion this is wrong occasions because the control contains 2 columns of another multicombobox in the first column of my datagrid and glass that the error only occurs if the first entry in Edit mode in multicombobox that contains 2 columns, but only if that income contains 3 columns works as if nothing happened, I hope I can help with this error and thank you for all the help I provide.
Edit: Giving hope to understand, I do not speak English well.