How do I show a processing page on load of a certain data display page in asp.net?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I still like the classic 2 page solution. The first page has an BODY ONLOAD call that does ‘window.location = ‘Page2.asp’;’. This results in the first page being displayed and the 2 page being invoked. While the second page is doing it’s work the first page remains displayed.
There are a couple of ‘problems’ with this solution:
You could also do this with AJAX (all on one page):
AJAX is nice, except that it may hide any server side errors that occur (i.e. if the page crashes horribly). Also it depends on how you prefer to do ajax (jQuery vs ASP.NET Ajax vs X Y Z).