>When I create a web form VS.NET enters a line of code into the first row:
>
>
>< % ERROR: Page Language=”vb” AutoEventWireUp=”false” codebehind=”WebControls1.aspx.vb” Inherits=”WebApplication1.Webform2” % >
>
>
>However, I cannot get any code to fire from the Page_Load. All methods can be called from Script and work fine. Code related to data does not fire.
>
Try setting the AutoEventWireUp="true" instead. That way ASP.NET will handle hooking up events for you.