Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Event Handlers at Run Time - Persistence problems

Status
Not open for further replies.

chewza

MIS
Feb 15, 2003
22
ZA
Hi there,

I have write some code to attach a single event handler to multiple controls, at run time.

All works fine. The only issue is with persistence.
I originally had the code run when the page loaded, and only if it was not a postback. I expected to only have to do this once.

Unfortunately - not so. I have been forced to allow this code to run even if it is a postback situation - It seems to "forget" the event handlers for each control.
Any Ideas why?

Thanks for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top