Skip to content

AutoEventWireup and Injection #10

Description

@khorvat

I have a question and maybe a potential bug to report, in case developer turns on the AutoEventWireup on System.Web.UI.Page or System.Web.UI.UserControl and uses let's say Init event e.g. "protected void Page_Init(object sender, EventArgs e)" at this point nothing is injected into properties etc.

The root of this problem is the call to RequestActivation(); in PageBase and UserControlBase which is called after base.OnInit(e); and all events are raised inside the base.OnInit.

Thoughts ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions