CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 date picker - something went wrong

Print topic Send  topic

Author Message
TheunisP

Posts: 342
Posted: 06/13/2006, 12:08 PM

Ok - now I'm not sure if this started after the last CSS upgrade or maybe something I did - I checked the forum but couldn't find a similiar problem/solution:

- 1 field
- date picker
- click on the dp link generates a object expected error in line 1....

below my code, check the datepicker.js file is uploadedm, any ideas?

<html>
<head>
<meta name="GENERATOR" content="CodeCharge Studio 3.0.4.6">
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<title>NewPage1</title>
<script language="JavaScript" type="text/javascript">
//Begin CCS script
//Include Common JSFunctions @1-AFE7FDDA
</script>
<script language="JavaScript" src="ClientI18N.asp?file=DatePicker.js&locale=en" type="text/javascript" charset="utf-8"></script>
<script language="JavaScript" type="text/javascript">
//End Include Common JSFunctions

//Date Picker Object Definitions @1-1BEBD52D

var tblEvent_DatePicker_strEventDate1 = new Object();
tblEvent_DatePicker_strEventDate1.format = "dd/mm/yyyy";
tblEvent_DatePicker_strEventDate1.style = "Styles/None/Style.css";
tblEvent_DatePicker_strEventDate1.relativePathPart = "";
tblEvent_DatePicker_strEventDate1.themeVersion = "3.0";

//End Date Picker Object Definitions

//End CCS script
</script>
</head>
<body>


<form method="post" action="myTest.asp?ccsForm=tblEvent" name="tblEvent">
<h2>Add/Edit Tbl Event </h2>
<table>

<tr>
<th>Str Event Date</th>

<td><input type="text" name="strEventDate" value="" maxlength="50" size="50">
<a href="javascript:showDatePicker('tblEvent_DatePicker_strEventDate1','tblEvent','strEventDate');"><img src="Styles/None/Images/DatePicker.gif" border="0"></a></td>
</tr>

<tr>
<td colspan="2" align="right">
<input name="Button_Insert" type="image" border="0" src="Styles/None/Images/en/ButtonInsert.gif" value="Add">

</td>
</tr>
</table>
</form>
<br>

</body>
</html>
View profile  Send private message
TheunisP

Posts: 342
Posted: 06/13/2006, 12:27 PM

ok, I added the code below manually:

<script language="JavaScript" type="text/javascript">
//Begin CCS script
</script>
<script language="JavaScript" src="ClientI18N.asp?file=Functions.js&locale=en" type="text/javascript" charset="utf-8"></script>
<script language="JavaScript" type="text/javascript">

CSS the added 3 //DEL entries - but the code worked

I removed the //DEL entries - still works

now, I assume that the Script code must be added by CSS itself but why doesn''t it? any ideas?
View profile  Send private message
TheunisP

Posts: 342
Posted: 06/13/2006, 1:25 PM

ok - I've let support know that CSS doesn't seem to add the code needed - will post solution....

View profile  Send private message
Edd


Posts: 547
Posted: 06/13/2006, 10:55 PM

TheunisP,
Have you had a look at replacing it with a Javascript date picker?

http://www.yessoftware.com/marketplace/details.php?exchange_id=5

Edd

_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
Benjamin Krajmalnik
Posted: 06/14/2006, 3:04 PM

I had the same problem.
Delete datepicker.js and have CCS regenerate it.
"TheunisP" <TheunisP@forum.codecharge> wrote in message
news:6448f1f4c8a309@news.codecharge.com...
> ok - I've let support know that CSS doesn't seem to add the code needed -
> will
> post solution....
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

TheunisP

Posts: 342
Posted: 07/04/2006, 8:40 AM

Back to this problem again, tried the delete and recreate no success.

I have 2 different projects on the same server, 1 works the other doesn't work - what gets me is that the code on the pages seem to look the same -

O yes - seems the Functions.js wasn't the problem

any other ideas?

View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.