Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: cal is null or not defined error
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 3/20/2008 at 08:39 PM Reply With Quote

this may have something to do with the asp.net updating the page dynamically. Anyway, first order of business is to enable javascript error console and watch for the messages.
View User's Profile View All Posts By User U2U Member
jcarriere
Junior Member

Posts: 4
Registered: 3/4/2008
Member Is Offline
posted on 3/20/2008 at 08:45 PM Reply With Quote

How do I enable the error console?
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 3/20/2008 at 08:53 PM Reply With Quote

it depends on the browser you're using. see help section.
some tips are at: http://www.softcomplex.com/support/kb_article.php?ref=6824-QUIZ-7814
View User's Profile View All Posts By User U2U Member
jcarriere
Junior Member

Posts: 4
Registered: 3/4/2008
Member Is Offline
posted on 3/20/2008 at 08:56 PM Reply With Quote

Okay, thanks.
The errors are
1. syntax error
2. calendar2 is undefined
3. cal1 is null or not an object.

All the files are together in the same directory which is the root of the default.aspx page.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 3/20/2008 at 09:15 PM Reply With Quote

first take care of the syntax error (it can be the reason for the rest). the error message should give you the line number.
View User's Profile View All Posts By User U2U Member
jcarriere
Junior Member

Posts: 4
Registered: 3/4/2008
Member Is Offline
posted on 3/20/2008 at 09:20 PM Reply With Quote

sorry, but without sounding stupid. The lines that they javascript error is stating does not have an error on it. For example it is stating that the calendar is not defined on line 222, but that line in code is a function not related to the calendar script file at all, but rather part of the Sub Page_Load function. I am at a complete lost. Should I send you the entire line of codes?
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 3/21/2008 at 02:51 PM Reply With Quote

Because your files can have includes and server side code the lines the browser reports may not match the lines you're looking at.
use view->source command of the browser to see the output of your server side script. The line numbers should work fine there.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004