listbox postback

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What types of things could short-circuit a listbox postback once the process
has begun?

I appreciate any help that you may provide.

-Mark
(alias the Zakman, at times)
 
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,

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top