L
Lew Barnesson
Hi All,
I have looked and looked for an answer to the following problem (without
success), and would be very grateful for a solution. The problem:
The SelectedIndexChanged event code of an Asp.Net DropDownList changes text
in an adjacent TextBox by either concatenating SelectedItem.Text (from the
DropDownList) if it is not in the TextBox, or removing it if it is in the
TextBox. This generally works very well.
The problem occurs when I click on the TextBox, and add some text manually.
When I return to the DropDownList (click on the list), the list drops down,
then goes right back up *without* firing the SelectedIndexChanged event. On
the next click, the list again behaves normally (i.e., the list drops down,
and I can select an entry). (But note that if I had just clicked on the
TextBox without adding text and then return to the DropDownList, all goes
well.)
Any advice appreciated....
- Lew
I have looked and looked for an answer to the following problem (without
success), and would be very grateful for a solution. The problem:
The SelectedIndexChanged event code of an Asp.Net DropDownList changes text
in an adjacent TextBox by either concatenating SelectedItem.Text (from the
DropDownList) if it is not in the TextBox, or removing it if it is in the
TextBox. This generally works very well.
The problem occurs when I click on the TextBox, and add some text manually.
When I return to the DropDownList (click on the list), the list drops down,
then goes right back up *without* firing the SelectedIndexChanged event. On
the next click, the list again behaves normally (i.e., the list drops down,
and I can select an entry). (But note that if I had just clicked on the
TextBox without adding text and then return to the DropDownList, all goes
well.)
Any advice appreciated....
- Lew