I want to display a "Your query is running" flashing graphic while the code is executing so that they know something is happening then forward them to their excel output when done. Where do I put this code in the code behind. Because I know I can still do it inline but I would like to take advantage of code behind if possible. Is there a main block where code gets executed after a page has begun loading? Thanks for any help.