You're right about the handlers becoming detached, but it is easy to restore them (by clicking on the button in the design view) or by writing them yourself.
On the viewstate issue - I have not encountered this problem. What are you doing that runs into this issue? - Matt Small -----Original Message----- From: G [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 8:49 AM To: CF-Community Subject: .NET glitches (WAS Guilty Pleasures) The event handlers all fire when they are supposed to...HOWEVER, an annoying glitch in Visual Studio can cause event handlers to become detached from time to time. This can be a minor inconvenience, or a major pain in the ass, as it was on my last page that had over 20 event handlers detaching all of a sudden. As for the viewstate, the security measure you are talking about probably refers to the EnableViewStateMac setting, which can be set to false telling the system not to verify the integrity of the Viewstate. This opens an obvious security hole though. The work around presented in the link I sent is what we are currently trying, creating a manual key so that there is always something there for the system to authenticate against. > Usually then the viewstate can't be authenticated, it's just IIS > thinking it's been given a "different" viewstate" for the same page. I > "think" this is a security measure and can be disabled in the > web.config. I had some problems with it in the past (when getting pages > with Server.Execute). > > My biggest gripe with ASP.NET is the seemingly chaotic pattern that > event handlers execute. Probably because I haven't learned enough about > it, yet. :P > > E > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:5:158840 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
