473,414 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Type not defined - error message

TJS
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

Nov 19 '05 #1
2 1302
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
Nov 19 '05 #2
TJS
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..

<sk:popUpCalendar 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" <in******@attglobal.net> wrote in message
news:pa****************************@attglobal.net. ..
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
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Terje Slettebř | last post by:
Hi. I'm new here, and sorry if this has been discussed before; I didn't find it searching the PHP groups. (I've also read recommendations to cross-post to the other PHP groups, but if that is...
21
by: Nitin Bhardwaj | last post by:
Hi all, It is said that C++ is a strongly typed language and thus a type-safe language (unlike C). So how does one explain the following behaviour : int main(void) { char *p = NULL; p = "A...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
8
by: Rob T | last post by:
When I was using VS2003, I was able to compile my asp.net project locally on my machine and copy it to the production server and it would run just fine. I've now converted to VS2005. The project...
8
by: Rob T | last post by:
When I was using VS2003, I was able to compile my asp.net project locally on my machine and copy it to the production server and it would run just fine. I've now converted to VS2005. The project...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.