B
Brad
I have web user controls (ascx files) in multiple support assemblies; I'm
building on a Commerce Server SDK sample. My problem is that the code
behind Page_Load event is never getting called for the web user controls is
one assembly though the Page_Init is fired. The Page_Load has the
"Handles MyBase.Load" but still, when I step through the debugger the init
sub works and the load is fired executed. In all the other support
assemblies in the same solution the web user controls do work correctly.
So why would the load not fire?
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
....
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
...
End Sub
Thanks
Brad
building on a Commerce Server SDK sample. My problem is that the code
behind Page_Load event is never getting called for the web user controls is
one assembly though the Page_Init is fired. The Page_Load has the
"Handles MyBase.Load" but still, when I step through the debugger the init
sub works and the load is fired executed. In all the other support
assemblies in the same solution the web user controls do work correctly.
So why would the load not fire?
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
....
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
...
End Sub
Thanks
Brad