S
Steve Taylor
I have never understood why intellisense doesn't show the available page
processing events (ie Page_Load) for easy inclusion in the code-behind.
Ideas?
The real question: I have master pages and content pages. The Master page
processes the events like "Page_Load()" but the content page only sees the
actual class.functions. Example:
------------------------------------------------------------------------
Partial Public Class DefaultPage
Inherits System.Web.UI.Page
Protected Overrides Sub OnInit(ByVal e As System.EventArgs)
AddHandler Me.ctrCustSearch.Customer_Select, AddressOf Customer_Select
End Sub
Protected Sub Page_Init(ByVal sender As Object, ByVal e As EventArgs)
AddHandler Me.ctrCustSearch.Customer_Select, AddressOf Customer_Select
End Sub
--------------------------------------------------------------------
In the above code only the OnInit() code executes as teh page is loaded!?!
(PS - I am a C# coder and used a conversion program to generate the code
into VB)
http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx
Humbly Yours,
Steve
processing events (ie Page_Load) for easy inclusion in the code-behind.
Ideas?
The real question: I have master pages and content pages. The Master page
processes the events like "Page_Load()" but the content page only sees the
actual class.functions. Example:
------------------------------------------------------------------------
Partial Public Class DefaultPage
Inherits System.Web.UI.Page
Protected Overrides Sub OnInit(ByVal e As System.EventArgs)
AddHandler Me.ctrCustSearch.Customer_Select, AddressOf Customer_Select
End Sub
Protected Sub Page_Init(ByVal sender As Object, ByVal e As EventArgs)
AddHandler Me.ctrCustSearch.Customer_Select, AddressOf Customer_Select
End Sub
--------------------------------------------------------------------
In the above code only the OnInit() code executes as teh page is loaded!?!
(PS - I am a C# coder and used a conversion program to generate the code
into VB)
http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx
Humbly Yours,
Steve