Re: Strange ComboBox Behavior
From: Eric (msdnsupport_at_nospammediserve.com)
Date: 04/23/04
- Next message: Eric: "Re: Strange ComboBox Behavior"
- Previous message: Aaron Prohaska: "Re: Using icon file"
- In reply to: Eric: "Strange ComboBox Behavior"
- Next in thread: Eric: "Re: Strange ComboBox Behavior"
- Reply: Eric: "Re: Strange ComboBox Behavior"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 23 Apr 2004 16:43:33 -0700
Stranger yet.
So, I tried manually loading the ComboBoxes and that did not fix the
problem. I created events for each of the comboBoxes shown below. The
events only fire when you change values in the combobox as you would expect.
But the really strange part is that creating these events fixed the
problem!!!!
private void ddlCategory_SelectedIndexChanged(object sender,
System.EventArgs e)
{
string strTemp = "";
}
private void ddlObsUnits_SelectedIndexChanged(object sender,
System.EventArgs e)
{
string strTemp = "";
}
"Eric" <msdnsupport@nospammediserve.com> wrote in message
news:%23lJh%23EXKEHA.2692@tk2msftngp13.phx.gbl...
> I have two ComboBoxes on a form both set to a different datasource. When
> retrieving the SelectedText from one the other's SelectedItem property
goes
> to -1. If I remove one or the other they work fine independantly. If they
> were both set to the same datasource I might understand but they are
> connected to two seperate datasources. Any ideas?
>
>
- Next message: Eric: "Re: Strange ComboBox Behavior"
- Previous message: Aaron Prohaska: "Re: Using icon file"
- In reply to: Eric: "Strange ComboBox Behavior"
- Next in thread: Eric: "Re: Strange ComboBox Behavior"
- Reply: Eric: "Re: Strange ComboBox Behavior"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|