U
UJ
I've got a page with a user control on it. While the page is loading, it
needs to check certain conditions of the user object to enable/disable
things on the screen. Currently in the page_load of the user control I do
things like read from the database on the first load, set some internal
variables, ...
If I need those things to be available to me on the page load, should I do
them on page_init? Are there any ramifications of using page_init? Does it
work pretty much the same way as page_load except that it happens before
page_load?
TIA
Jeffrey.
needs to check certain conditions of the user object to enable/disable
things on the screen. Currently in the page_load of the user control I do
things like read from the database on the first load, set some internal
variables, ...
If I need those things to be available to me on the page load, should I do
them on page_init? Are there any ramifications of using page_init? Does it
work pretty much the same way as page_load except that it happens before
page_load?
TIA
Jeffrey.