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.Set Response.Buffer = false so whatever is outputted gets outputted immediately.. Then in page_load response.write the graphic... If whatever you are doing is going to take awhile it should display the graphic until the query is done...thank you