R
Rock
I created a button that sets values to dictate how a page is loaded, but
seems the events don't work that way. The page loads first, then the button
click event fires. This seems quite backward, and of course my page doesn't
load with the new information.
For instance, I have a datagrid that displays with information from one
table. If the user clicks on a button, the datagrid changes it's
datasource, so what happens is the original datasource is still bound to the
grid, because it doesn't change until the button is clicked, and since that
event is fired last, well...
How should I be doing this?
seems the events don't work that way. The page loads first, then the button
click event fires. This seems quite backward, and of course my page doesn't
load with the new information.
For instance, I have a datagrid that displays with information from one
table. If the user clicks on a button, the datagrid changes it's
datasource, so what happens is the original datasource is still bound to the
grid, because it doesn't change until the button is clicked, and since that
event is fired last, well...
How should I be doing this?