This project is read-only.

Error after posting back from Easy Control

Topics: Developer Forum
Aug 1, 2008 at 4:00 AM
Hello, I have created a control to for user to enter data to database. It works fine. I added it through the Easy Control. However, when ever it posts back when a user selects a date from the calendar control or clicks the submit data button the following error message is displayed: "Microsoft JScript runtime error: 'theForm.__SCROLLPOSITIONX' is null or not an object".

This is the function that it is erroring out on:



WebForm_SaveScrollPositionOnSubmit() {


theForm.__SCROLLPOSITIONX.value = WebForm_GetScrollX();

theForm.__SCROLLPOSITIONY.value = WebForm_GetScrollY();


if ((typeof(this.oldOnSubmit) != "undefined") && (this.oldOnSubmit != null)) {



return this.oldOnSubmit();




return true;



Any help in this matter would be appreciated...