Afternoon,
if i assign ultracomboeditor with the following:
ultracomboeditor.displaymember = blah blah
ultracomboeditor.valuemember = blah blah
ultracomboeditor.datasource = bindingsource1
i get the following error for the three above:
'DisplayMember' is not a member of 'Infragistics.Win.UltraDataGridView.UltraComboEditorColumn'
'ValueMember' is not a member of 'Infragistics.Win.UltraDataGridView.UltraComboEditorColumn'
'Datasource' is not a member of 'Infragistics.Win.UltraDataGridView.UltraComboEditorColumn'
Why do i get these errors?
ta
Hi,
I'm a bit confused. What exactly is UltraComboEditor in the code you have here?
You are posting in the WinCombo forum, so that would seem to indicate that maybe you are using UltraCombo. But UltraCombo is not the same as UltraComboEditor.
The error you are getting is referencing 'Infragistics.Win.UltraDataGridView.UltraComboEditorColumn'. This is either UltraCombo nor UltraComboEditor, but is a derived column type which can be used with the Microsoft DataGridView. It's not a standalone component.
So I cannot guess why these errors are occurring without a lot more information about what class you are using here.
ive got a datagridview with a UltraComboEditorColumn.
not sure if ive posted it in the right forum but basically i want to assign a displaymember and valuemember for this combobox in my datagridview but im getting the errors mentioned earlier.
basically where can i set the properties for displaymember and valuemember? i tried coding it but keeping getting the errors
Okay, so when do these error messages appear? Are they appearing at design-time or run-time?
Those properties obviously do exist on the column object, so if you are getting an error message that they do not, then something is clearly wrong. My best guess is that your project references are messed up. Maybe you are setting CopyLocal to true on the Infragistics assembly references in your project. Or perhaps you project is referencing more than one version of the same assemblies.
i get the errors at design time.
How do i sort my project references out without re-installing infragistic win controls?
I am not suggesting that your installation is the problem. I am referring to the project references.
Are you using C# or VB? In VB, I beleive the project references are hidden by default, so you have to show them first in the Solution Explorer window (it's in the upper right corner of Visual Studio by default). There's a row of buttons at the top of the window and the second one from the left is "Show All Files".
Then you expand the References folder and take a look at the Infragistics references. Make sure they are all the same version and that none of the have CopyLocal (in the Properties window) set to true.
Sample code:
ucmbOtherLocPPONo.ValueChanged -= ucmbOtherLocPPONo_ValueChanged; ucmbOtherLocPPONo.SelectedIndex = -1; ucmbOtherLocPPONo.Text = regPPOValue.Remove(regPPOValue.Length - 1); ucmbOtherLocPPONo.ValueChanged += ucmbOtherLocPPONo_ValueChanged;
In this after assigning text toucmbOtherLocPPONo for that valuemember also is asigning. But that text is incomplete text. I dont want to assign valuemember for incomplete text.
Plz help me
im using VB, ill check tonight to see if they are..