The code, as shown below, appears to be in every .aspx.
vb code-behind for every module except the 'FileManager' module. So this is a pretty broad reaching change.
Why do you say 'ordinarily you would not remove it'? Have you dealt with this issue before?
It's strange, if I comment out the call to InitializeComponent() in OnInit, then OnInit doesn't even get called. Why would that be?
Protected Overrides Sub OnInit(ByVal e As EventArgs)
MyBase.OnInit(e)
InitializeComponent()
End Sub
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
AddHandler Me.Load, AddressOf Page_Load
End Sub