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


>> Submitted via EggHeadCafe - Software Developer Portal of Choice
>> Composite UI Pattern and RAD Development for Data Entry Applications, Part 1
>> http://www.eggheadcafe.com/tutorials/aspnet/a119aebe-7478-4aaa-b415-12786ec5cf90/composite-ui-pattern-and-rad-development-for-data-entry-applications-part-1.aspx
 | 
Pages: 1
Prev: APNSoft DataGrid 3.2 Released!
Next: Great thanks