We help IT Professionals succeed at work.

ASP.NET Load html part first, then start function

Gery Wauters
Gery Wauters asked
on
165 Views
Last Modified: 2017-05-04
Hi,

I have a page that gets its data from a form on another page.
The idea is that this page should load its html code (loading gif and data being processed... text) completely. And after this has loaded, the codebehind part (processing data to database, send a couple of mails and finally redirect to another page) should be executed.

When I add the subs to page_load or page_loadcomplete, I immeadiately get redirected to that final page.

Where can I put the subs to get the current page to show itself?

Can someone help me with this?

Thanks!!

Kind regards,
Gery
Comment
Watch Question

Sr. System Analyst
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
This is a nice workaround.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.