Order of events

I have a form with several controls on it, one control has a drop down list.
When a user selects an item in that drop down list, I want everything on
that page to change according to what the user selects.

However, rather than the control's drop down list change event firing first,
which I would think would happen, everything else is reloaded, so the values
of everything reflects the previously selected item, not the currently
selected item.

This makes no sense to me -- how do I get the change event to fire first,
then reload the form and other controls so they are getting the correct
values.

Thanks for any help you can give me, I am thoroughly confused on why the
order of events seems to be backward.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!