Ads Via DevMavens
We published some documentation for ASP.NET Ajax 4.0 Preview 3: http://quickstarts.asp.net/previews/ajax/templates/default.aspx
Hi Bertrand,
i have a question about dataview:serviceuri.i think that to bind data to dataview,we must give webservice or svc.file in your examples.As u know,In Ajax Controls there is a feature ,which is called as PageMethods, and by using this method we can get static web methods results.Is it possible to use in your example?Or will Asp.Net ajax 4.0 provide Page Methods soon?
Regards
@Cem: page methods are just web services that happen to be defined from a page's code. Ajax 4.0 works well with any kind of JSON Web service and so should page methods. The difference is that you wouldn't be using an AdoNetDataSource. You could call the method using its client proxy (or call it using Sys.Net.WebServiceProxy.invoke) and set the data property of the dataview from the success callback. If you prefer to do things declaratively, you can do the same thing by using a DataSource using the query as the method name.