472,338 Members | 1,635 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,338 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 1266
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...
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...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at:...
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...
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...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...

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.