Hi guys.
I got a window form that contain some Infragistics controls.
When I select an item from a UltraComboEditor, I want to retrieve a value from the database then display it.
Unfortunately, when I assign the value to UltraNumericEditor, the whole form was reset. But the value assigned to UltraNumericEditor remains.
And I just found out that when I clicked the UltraComboEditor once, SelectionChanged event will be trigged twice.
Please advice.
It is impossible for us to help you without additional details. If possible please attach a simple sample and provide an explanation about what is going wrong, i.e., what you mean by "the whole form was reset".
Brian Fallon"] It is impossible for us to help you without additional details. If possible please attach a simple sample and provide an explanation about what is going wrong, i.e., what you mean by "the whole form was reset".
Hi, Brian. Below is my coding.
Private Sub cboProductCode_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles cboProductCode.SelectionChanged GetSize(cboProductCode.SelectedItem.DataValue) End Sub
While Form_Load, I bind some data into some UltraComboEditors for user to select, after the above code, it will return a value to UltraNumericEditor. But all UltraComboEditors become empty, just like it was a brand new form.
And I also found out that when I point the cursor to UltraNumericEditor, the cursor will remain in the control, I couldn't select other control.