G
Guest
Hi;
The examples I have seen all use "if (IsPostBack) { ... }" to handle an
action when the user presses the submit button.
However, it seems to me a more object oriented approach is to use a callback
event attached to a button.
Is there a good reason to use one over the other?
The examples I have seen all use "if (IsPostBack) { ... }" to handle an
action when the user presses the submit button.
However, it seems to me a more object oriented approach is to use a callback
event attached to a button.
Is there a good reason to use one over the other?