Kevin,
No, you are not doing anything wrong. You must remember that a web application has no state, meaning that nothing really happens until you "PostBack" to the server at which time your page_load event fires and then your control events. It takes a little getting used to especially if you're coming from a windows programming environment that has 'state'.
Bob
>I think I'm really confused about how a web page works with respect to control event.s
>
>I have a textbox on my page. I want to know when the user changes something, so I dbl-clicked the TextChanged event - which
>doesn't fire unless the Texbox tag has the attribute AutoPostBack = "true" in it. At least, this is what's happening in my page.
>
>This of course causes the entire page to be reloaded.
>
>This si really screwy. I gotta be doing something wrong.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement