Re: Formsauthentication - Page_Load problem

From: Cy Huckaba (cyh_at_delete.t-3.com)
Date: 04/29/03


Date: Tue, 29 Apr 2003 15:50:42 -0500


You can add the HANDLES syntax to the page load event like this...

Public Sub Page_Load(...) Handles MyBase.Load
    ...
End Sub

You are basically adding an event hook to that sub. You are telling it to fire
the load event of the class (webform) that your page is inherited from.

Cy Huckaba
Austin, TX

"John McD" <judetherude@hotmail.com> wrote in message
news:027601c30e8b$18ebdea0$a301280a@phx.gbl...
> How can I get the Page_Load code to execute while still
> having the AutoEventWireup attribute set to false?



Relevant Pages

  • Re: Passing parameter from textbox
    ... I will now analyse the code what it does, so that i understand what is ... you may have faster load times if you don't populate the ... the page load event will fire before the ItemCommand event so ... >> Private Sub ItemCommand(ByVal source As Object, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Form Filter
    ... Private Sub Form_Load ... Why does the filter not seem to fully execute during the load event? ... "don't know" did you set filter to data during form load event or not. ...
    (comp.databases.ms-access)
  • Re: Not in list combo questions
    ... And this is on the On Load event of the pop up form. ... Private Sub Form_Load ... Response = acDataErrContinue ... vbCrLf & vbCrLf & _ ...
    (microsoft.public.access.forms)
  • Re: Passing parameter from textbox
    ... set the "Text" property of the linkbutton control as shown ... you may have faster load times if you don't populate the ... the page load event will fire before the ItemCommand event so ... > Sub Page_Load ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: test whether ocx is registered from VB, possible?
    ... >> Stick sthing like this in Mainin the starting module: ... > it sounds like you're saying I should do the OCX test before the main form ... > load event from a sub in a module, ... Define the project's startup object to be Sub Main, ...
    (microsoft.public.vb.winapi)