CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Problem with datepicker

Print topic Send  topic

Author Message
HAL9000
Posted: 06/17/2003, 2:21 AM

i have a problem with the datepicker
i add it to my editable grid next to a text box
i configure the properties like image link,control,theme but when i run the application to my web browser IE 6.0 i get an error message :
{
a runtime error has occured.
do you wish to debug?
line:0
Error:Object expected
}

anyone HELP!!
?????????
Posted: 06/18/2003, 5:29 AM

??????????????
rrodgers
Posted: 06/18/2003, 6:18 AM

Are all the properties for the date picker filled? If they are then try deleting and readding the control. See what happens.

rob
HAL9000
Posted: 06/19/2003, 6:34 AM

Well all 3 properties are filled (control, style, name) but still the same ..
rrodgers
Posted: 06/19/2003, 9:18 AM

Check to see that the DatePicker.js file is being uploaded to the server.
Check For anything that may block scripts. Norton AV, ZoneAlarm etc.


Check to see that the datepicker.js is included in the html.
It will look something like this.
</script>
<script language="JavaScript" src="DatePicker.js"></script>

Check to see if the date picker object is setup for your form field in the HTML.
It will look something like this. Where "Games" is the form and "GameDate" is the Field (If it was created automaticly)

//Date Picker Object Definitions @1-1BB9DD32

var Games_DatePicker_GameDate = new Object();
Games_DatePicker_GameDate.format = "mm/dd/yyyy";
Games_DatePicker_GameDate.style = "Themes/Mailbox/Style.css";
Games_DatePicker_GameDate.relativePathPart = "";

//End Date Picker Object Definitions


Check to see if the datepicker link control is in your html

It will look something like this.
<!-- BEGIN DatePicker DatePicker_GameDate --><a class="MailboxDataLink" href="javascript:showDatePicker('{Name}','{FormName}','{DateControl}');"><img src="Themes/DatePicker/DatePicker1.gif" border="0"></a><!-- END DatePicker DatePicker_GameDate

   


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.