|
|
 |
RE: SPAM-LOW: Re: FN-FORUM: Ajx & .Net 2.0
date posted 21st November 2007 17:50
Hi Neil,
Thanks for the reply. Could you please send me the file.
Regards
Phill Healey
Munklefish
Po Box 70
Manchester
M34 3SQ
T: 0161 408 4759
=A0
-----Original Message-----
From: [EMAIL REMOVED] [EMAIL REMOVED] On Behalf Of
[EMAIL REMOVED]
Sent: 21 November 2007 18:37
To: FN-FORUM / [EMAIL REMOVED]
Subject: SPAM-LOW: Re: FN-FORUM: Ajx & .Net 2.0
>> Basically I have a script manager, with a UpdatePanel, a Timer and a=20
>> 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=20
project in Visual Studio and then comparing the web.config it created=20
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=20
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 -----=20
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
>
>
> --=20
> 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
>
>=20
--=20
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
|
 |
|