Page Events

D

dew

Under what circumstances would a page not run the event Prerender?

I have a main page that loads two user controls. On the first control, the
user has the ability to enter search criteria, and clicks on a search
button. When that happens, the main page does a postback, the first control
does postback, the 2nd control does a postback. Then the 2nd control does a
pre-render, grabs the search criteria and then in the 2nd control's
prerender, displays the data according to the new search criteria. This
works find most of the time.

Some of the time, and I can find no pattern, the 2nd control skips the
prerender, so the displayed data is incorrect or nonexistent. I have no
idea why it skips the pre-render on the 2nd control.
 

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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top