Hello,
I have a page that has some updatepanel in it. It was working properly
till very recently but today I noticed that it is not working properly and
when the page is loaded, it reported "done but with error on page". Trying
to find the source of error, I come to this message:
"sys is not defined."
Looking at the page source, I found that it relates to the following lines:
Sys.WebForms.PageRequestManager._initialize('ctl00$ScriptManager1',
document.getElementById('aspnetForm'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls([], [], [],
90);
And
Sys.Application.initialize();
What is the problem and how can I solve it?
Best regards
bruce barker - 02 Oct 2007 22:50 GMT
if you look at the page source (view source), you will see some:
<script src="scriptresource..."></script>
lines. they are probably not loading properly because one of them
defines Sys.
if the <script> lines are not there, then ScripManager is not defined.
-- bruce (sqlwork.com)
> Hello,
>
[quoted text clipped - 19 lines]
>
> Best regards
gerry - 03 Oct 2007 19:03 GMT
we run into this occasionally even though all of the <script> tags etc are
there, reloading the page usually fixes the problem
my guess is that the script that defines sys is taking too long to load and
another script that references it is executes before it is defined - or
maybe not
> if you look at the page source (view source), you will see some:
>
[quoted text clipped - 31 lines]
>>
>> Best regards