Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Type not defined - error message

Reply
Thread Tools

Type not defined - error message

 
 
TJS
Guest
Posts: n/a
 
      06-16-2005
What doe sthis mean "Type not defined" when pointing to 'Protected with
events ' line in codebehind ?

========================================
Public Class dispCalendar
Inherits System.Web.UI.Page

Protected WithEvents myCalendar As popUpCalendar '<==error here



 
Reply With Quote
 
 
 
 
intrader
Guest
Posts: n/a
 
      06-16-2005
On Thu, 16 Jun 2005 11:24:39 -0700, TJS wrote:

> What doe sthis mean "Type not defined" when pointing to 'Protected with
> events ' line in codebehind ?
>
> ========================================
> Public Class dispCalendar
> Inherits System.Web.UI.Page
>
> Protected WithEvents myCalendar As popUpCalendar '<==error here

Possibly popUpCalendar is undefined
 
Reply With Quote
 
 
 
 
TJS
Guest
Posts: n/a
 
      06-16-2005
Yes ,I see it is telling me it is "not defined" , but what does that mean.
I need to resolve this error.

The popUpCalendar is referenced in the aspx file as:

======display page=======
<%@ Page language="VB" src="dispCalendar.aspx.vb" Inherits="dispCalendar" %>
<%@ Register TagPrefix="sk" TagName="popUpCalendar"
src="/ctl/popupcalendar.ascx" %>


.....html..

<skopUpCalendar id="myCalendar" runat="server" />
....

=====code behind -dispCalendar.aspx.vb ========

Public Class dispCalendar
Inherits System.Web.UI.Page
Protected WithEvents myCalendar As popUpCalendar '<==error here
....
===============================
full sample code is here:

http://www.dotnetjunkies.com/Article...7F9D7130F.dcik



"intrader" <(E-Mail Removed)> wrote in message
news(E-Mail Removed). ..
> On Thu, 16 Jun 2005 11:24:39 -0700, TJS wrote:
>
>> What doe sthis mean "Type not defined" when pointing to 'Protected with
>> events ' line in codebehind ?
>>
>> ========================================
>> Public Class dispCalendar
>> Inherits System.Web.UI.Page
>>
>> Protected WithEvents myCalendar As popUpCalendar '<==error here


Possibly popUpCalendar is undefined


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'ifstream' is used as a type, but is not defined as a type. uche C++ 4 02-18-2007 12:44 AM
#if (defined(__STDC__) && !defined(NO_PROTOTYPE)) || defined(__cplusplus) Oodini C Programming 1 09-27-2005 07:58 PM
Compiler Error Message: BC30002: Type 'LdapAuthentication' is not defined Nuve Nai ASP .Net 0 10-23-2003 07:22 PM
Compiler Error Message: BC30002: Type 'LdapAuthentication' is not defined Nuve ASP .Net 0 10-22-2003 08:27 PM
'NODE' is used as a type, but has not been defined as a type Kabeer C++ 6 08-21-2003 03:54 PM



Advertisments