When I click a button, I want to change some settings to some objects on my page, refresh so those changes are displayed, and then run some code that takes about 5 minutes to run.

How could I do this?

Also, during my code that takes 5 minutes to run, I would like to be able to change some data in a label and have the label changes be updated on the page while the code keeps running, obviously during this process I do not want the page to refresh or postback.

Thanks in advance.