Iv come across this problem a few times.
As a simple example:
Why is when creating a simply Visual web part with a button onclick method, the page_load() event always fires before the event that caused the page to refresh (in this case the button onclick())?
This has become very anoying, one way iv found to over come this is to save any data i require within the application memory then reload it again within the method i activated if it exists.
This seems very time consuming.
Surely theres a way to stop this?
View Complete Post