Timing error on Page Load with User Control

L

Loopy

Each of the aspx pages in my application have a User Control called
"WrapStart".

In a page's Page_Load() method, I set various properties and/or call
various methods of the WrapStart control object. Everything works
fine... except...

....when I click too quickly from one page to another (or quickly
reload the same page). When I do, I get the following error:

"Object reference not set to an instance of an object."

And the line highlighted in the error is: WrapStart.someMethod();


I'm wondering what is going on and how do I fix this problem. Any
help would be greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top