Geeks With Blogs

News

Steve Clements .Net and then some....

I am currently converting my app from Atlas CTP to ASP.net AJAX, I am having a few problems here and there...least of all intellisense doesn't work but the page builds and displays?? Wait to here from the ASP.net forums on that one...stay tuned!

A change from the CTP's, to call a web service through the MS AJAX library you need to add the....

[Microsoft.Web.Script.Services.ScriptService]

..to your web service class or add the Microsoft.Web.Script.Services namespace to your to the using statements.

e.g.

[Microsoft.Web.Script.Services.ScriptService]

public class [ClassName] : System.Web.Services.WebService

{

This is true for webservices that the Cascading Drop Down control uses too.

Note on the Cascading drop down control: I have found that for my page method to work correctly I need to have the code in the aspx file as appose to in the code behind file? This seems totally crazy and I'm sure I must be missing something.  Again I wait to here from the forums...stay tuned.
Also, all your page methods now need to be static.

I will be posting more on this as I get all the problems ironed out.

Posted on Sunday, October 22, 2006 11:31 AM ASP.net AJAX | Back to top


Comments on this post: Atlas to ASP.net AJAX: Calling a Web Service from AJAX Beta1

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Steve Clements | Powered by: GeeksWithBlogs.net