Prev: Great thanks
Next: Great thanks
From: simon willcock on 23 Sep 2010 10:51 This saved me loads of time - thanks > On Friday, February 27, 2009 9:55 PM jbot wrote: > Here is one more scenario where the page load event can fire more than > once: > > I had problem with pageload firing twice for an ascx control. This > was on a project that was upgraded from asp.net 1.1 to 2.0. I finally > figured out that for some reason, the pageload event for that ascx had > the following signature: > Private Sub Page_Load(ByVal sender As System.Object, ByVal e As > System.EventArgs) Handles MyBase.Load, Me.Load > > By removing the , Me.Load the problem was resolved. > > It took a long time to find this, so I hope this helps someone out > there > JB >> On Friday, February 27, 2009 9:55 PM RayLopez99 wrote: >> So presumeably "MyBase.Load, Me.Load" is redundant? Seems simple >> enough, if so. >> >> RL >>> On Thursday, September 23, 2010 10:51 AM simon willcock wrote: >>> This saved me loads of time - thanks >>> Submitted via EggHeadCafe - Software Developer Portal of Choice >>> ComponentOne Studio for ASP.NET AJAX - Free License Giveaway >>> http://www.eggheadcafe.com/tutorials/aspnet/ce98ce1f-2b5d-4ec8-b6d5-a1049651514e/componentone-studio-for-aspnet-ajax--free-license-giveaway.aspx
|
Pages: 1 Prev: Great thanks Next: Great thanks |