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.
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.