J
james
Hey Guys,
Is there any way to attach to the onLoad property of a page, outside
of the page itself?
In porting an application from jsp to aspx, I added attributes like
<script runat="server">
/** @attribute useBean() */
/** @attribute setProperty("*") */
SampleBean testing;
void Page_Load()
{
new JspEmulator().reflect(this);
}
</script>
I would like to remove the Page_Load event, since this happens for all
pages. I looked at global.asax and did not see a way to reference the
page instance.
Thanks,
James
Is there any way to attach to the onLoad property of a page, outside
of the page itself?
In porting an application from jsp to aspx, I added attributes like
<script runat="server">
/** @attribute useBean() */
/** @attribute setProperty("*") */
SampleBean testing;
void Page_Load()
{
new JspEmulator().reflect(this);
}
</script>
I would like to remove the Page_Load event, since this happens for all
pages. I looked at global.asax and did not see a way to reference the
page instance.
Thanks,
James