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: this.TC0p is undefined
DanielWilson
Junior Member

Posts: 6
Registered: 9/4/2009
Location: Indiana, USA
Member Is Offline
posted on 10/10/2010 at 01:20 AM Reply With Quote
this.TC0p is undefined


Just upgrading to Pro ...


<script language="JavaScript" src="js/tigra_calendar_pro/modal_mode/cal_tpl1.js"></script>
<script language="JavaScript" src="js/tigra_calendar_pro/modal_mode/cal_strings.js"></script>
<script language="JavaScript" src="js/tigra_calendar_pro/modal_mode/calendar.js"></script>
<link rel="stylesheet" href="js/tigra_calendar_pro/modal_mode/calendar.css" type="text/css" />

...

<script language="JavaScript">
new calendar ({
'formname': 'add_payment',
'controlname': 'entry_date',
'dataformat' : 'm/d/Y',
'nocontrols' : {
//'nomonth' : true,
//'noyear' : true,
//'nohour': true,
//'nominute' : true,
//'nosecond' : true,
//'notoday' : 'true',
//'noampm' : 'true',
'noothermonthday' : 'true'
},
'replace' : true,
'watch' : true
}, CAL_TPL1); </script>

But when I click the calendar icon, I get
"this.TC0p is undefined"

My code almost copies directly from the modal_multiple example. Any ideas what I'm doing wrong?

Thanks!
View User's Profile View All Posts By User U2U Member
DanielWilson
Junior Member

Posts: 6
Registered: 9/4/2009
Location: Indiana, USA
Member Is Offline
posted on 10/11/2010 at 09:25 PM Reply With Quote

At the bottom of the example file is this:


<script language="JavaScript">
// initialization block for all calendars on the page
// A_CALENDARS array contains references to each calendar instance
for (var n = 0; n < A_CALENDARS.length; n++) {
A_CALENDARS[n].create();
}
</script>

Placing it at the bottom of my file solves the problem.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Calendar
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 
Tigra Calendar PRO
Product Demonstrations Live Demos
Popup Calendar
Onpage Calendar
Modal Calendar
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


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