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
|
 |
 |
|