From: simon willcock on
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


>>>> 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
>>>> A Comparison of Managed Compression Algorithms
>>>> http://www.eggheadcafe.com/tutorials/aspnet/71485ecc-2d2d-435a-9c35-3d12b279f9ae/a-comparison-of-managed-compression-algorithms.aspx
 | 
Pages: 1
Prev: Great thanks
Next: Great thanks