|
|
 |
Re: FN-FORUM: Ajx & .Net 2.0
date posted 21st November 2007 17:42
>> Basically I have a script manager, with a UpdatePanel, a Timer and a
>> Label.
>> The problem is that 'Sys is not defined'
>> Can anybody help me rectify this problem.
This is a really common error (which I have had) and it almost certainly has
nothing to do with your code (unless you have the ajax bit before the script
manager ofc - 'cos that won't work). It's probably web.config - try googling
for: asp.net sys not defined web.config
I fixed the problem myself by creating a new (temporary) ASP.NET Ajax
project in Visual Studio and then comparing the web.config it created
against the web.config I had in the actual project I wanted the new ajax
thingumywidget in.
I can send you a default ajax web.config off list if you think it would
help?
Another thing to make sure is that you have ajax dll's in your bin directory
if they are not in the GAC.
HTH,
Neil
----- Original Message -----
From: "Gary Short" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Wednesday, November 21, 2007 5:05 PM
Subject: Re: FN-FORUM: Ajx & .Net 2.0
>
> On 21 Nov 2007 16:49:57 -0000, Phillip Healey wrote
>> Im just starting to tinker with AJAX in my .Net applications in
>> VS2005, but have come to a problem already.
>>
>> Basically I have a script manager, with a UpdatePanel, a Timer and a
>> Label. All im trying to do is set the label text on with the
>> DateTime every 10 seconds based on the timer. Ive followed a simply
>> tutorial for it and all seemed ok until I tried to run it. No matter
>> if I use localhost or the webserver, I get two error stopping the
>> page from updating via the AJAX.
>>
>> The problem is that 'Sys is not defined'
>>
>> Can anybody help me rectify this problem.
>>
>
> Did you include the ScriptManager, that's the most common cause of this
> error?
>
> --
> Gary Short
> http://www.garyshort.org
>
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|