S
Steven K
Hello,
In my codebehind file, I am trying to call a sub procedure that is in my
MasterPage, but I am getting an error:
Error 1: BC30451: Name 'LoadMenu' is not declared.
c:\inetpub\wwwroot\price_insx\MenuCode.aspx.vb 19
----
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Me.Load
If Not IsPostBack Then
Call LoadMenu("Hello World")
End If
End Sub
---
In my MasterPage:
Public Sub LoadMenu(ByVal strText As String)
Response.Write(strText)
End Sub
Any help with this would be appreciated.
In my codebehind file, I am trying to call a sub procedure that is in my
MasterPage, but I am getting an error:
Error 1: BC30451: Name 'LoadMenu' is not declared.
c:\inetpub\wwwroot\price_insx\MenuCode.aspx.vb 19
----
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Me.Load
If Not IsPostBack Then
Call LoadMenu("Hello World")
End If
End Sub
---
In my MasterPage:
Public Sub LoadMenu(ByVal strText As String)
Response.Write(strText)
End Sub
Any help with this would be appreciated.