CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Date Picker JavaScript error .NET

Print topic Send  topic

Author Message
snyd1437

Posts: 1
Posted: 04/18/2006, 7:30 AM

A user reported that the date picker had stopped working. I finally traced it back to a server upgrade to .NET 2.0 (different control ID naming scheme). Once I set IIS back to .NET 1.1 everything was working, HOWEVER the user now reports a strangeness:

If you don't pick a date (click window Close 'X' button - ALT +F4) and try to open the date picker again a script error occurs:

The callee is not available and disappered; all connections are invalid. The call did not execute.

This is happening on the line below (the IF block is skipped):

// Display the DatePicker in a new popup window
if (typeof(top.newWinDatePickerObject) != "object")
{
var datepickerURL = DatePickerObject.relativePathPart?DatePickerObject.relativePathPart+"DatePicker.html":"DatePicker.html";
var w_left = Math.ceil(screen.width/2-120);
var w_top = Math.ceil(screen.height/2-110);
top.newWinDatePickerObject = window.open(datepickerURL+"?random="+Math.random(), "DatePickerWindow", "dependent=yes,left="+w_left+",top="+w_top+",width=250,height=210,screenX=200,screenY=300,titlebar=yes, center: yes, help: no, resizable: yes, status: no");
}
top.newWinDatePickerObject.focus(); <-- This line causes error
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.

Web Database

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.