I'm getting a "BC30451: Name 'CRListType' is not declared." error
Here's the top of the page where I'm getting stuck...
<%@ Control Language="vb" AutoEventWireup ="false"
Codebehind="CRL ist.ascx.vb" Inherits="x.x.x .net.WebUserCon trol1"
TargetSchema="h ttp://schemas.microso ft.com/intellisense/ie5" %>
<% If CRListType = "full" %> ----------ERROR IS OCCURRING HERE -----------
------------------------
Here's my .vb page behind it:
Public MustInherit Class WebUserControl1
Inherits System.Web.UI.U serControl
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnos tics.DebuggerSt epThrough()> Private Sub
InitializeCompo nent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeCompo nent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Load
'Put user code to initialize the page here
End Sub
End Class
Here's the top of the page where I'm getting stuck...
<%@ Control Language="vb" AutoEventWireup ="false"
Codebehind="CRL ist.ascx.vb" Inherits="x.x.x .net.WebUserCon trol1"
TargetSchema="h ttp://schemas.microso ft.com/intellisense/ie5" %>
<% If CRListType = "full" %> ----------ERROR IS OCCURRING HERE -----------
------------------------
Here's my .vb page behind it:
Public MustInherit Class WebUserControl1
Inherits System.Web.UI.U serControl
#Region " Web Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnos tics.DebuggerSt epThrough()> Private Sub
InitializeCompo nent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeCompo nent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArg s) Handles MyBase.Load
'Put user code to initialize the page here
End Sub
End Class