How to setup ASP.NET Ajax Library and WCF Data Services

Posted by Jronny on Stack Overflow See other posts from Stack Overflow or by Jronny
Published on 2010-05-25T01:58:05Z Indexed on 2010/05/25 2:01 UTC
Read the original article Hit count: 599

Filed under:
|

I was following http://msdn.microsoft.com/en-us/magazine/ee336022.aspx but there were js errors. for example

Sys is undefined

So I added http://ajax.microsoft.com/ajax/act/40412/start.js. Then

Sys.Data is undefined

So I added http://ajax.microsoft.com/ajax/act/40412/MicrosoftAjaxDataContext.debug.js. But then

TypeError: Sys.Data.OpenDataContext is not a constructor

What shall I do to be able to call the service the way they do it on the first link? What are the scripts and resources needed? Thanks a lot.

© Stack Overflow or respective owner

Related posts about asp.net-ajax

Related posts about wcfservice