No, it's not that simple Cor. Autopostback is set to true. In fact, when I
click on a list item, the autopostback process starts, but never finishes.
Code stops executing after the page_load event. The code inside the
SelectedIndex_Changed event never fires.
Note that this is the second time this has happened to me with this
application. Thinking that something was wrong with the first solution, I
created a new one. Before adding a project or a new class to the second
solution, I made sure that they worked separately before adding them.
It just shouldn't stop where it's stopping.
Warm regards,
Mark
> Mark,
>
[quoted text clipped - 6 lines]
>
> Cor
Cor Ligthert - 31 Oct 2004 09:24 GMT
Mark,
Are you sure that the handler is still attached to the event in your code.
You will not be the first one, who deletes a control from a form (and with
that the handler) and get this result when he dragged back a new control on
the form which gets the same name, however does not set the handler again.
I hope this helps?
Cor
"Mark Petruszak" <mark[No_Spam}petro66@yahoo.com>
> No, it's not that simple Cor. Autopostback is set to true. In fact, when
> I
[quoted text clipped - 22 lines]
>>
>> Cor
Mark Petruszak - 31 Oct 2004 20:09 GMT
Note the following:
Private Sub lboServerList_SelectedIndexChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
lboServerList.SelectedIndexChanged
Cor, I appreciate your time. Thank you for looking at this but it seems
that something has gone wrong and the only recourse may to reinstall VS2003
or redesign my solution. I'm not sure that will help, though, as the listbox
works fine in other applications.
Thank you again,
Mark
> Mark,
>
[quoted text clipped - 36 lines]
> >>
> >> Cor