How to setup ASP.NET Ajax Library and WCF Data Services
- by Jronny
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.