SharePoint web-part using ajax RRS feed

  • Question

  • I have created SP web-part and I want to use ajax. I got ScriptManager instance:

    ScriptManager sm = ScriptManager.GetCurrent(Page);

    Where web-service for ajax must be situated? I did like here but service isn't visible in client script.

    Friday, July 22, 2011 5:21 AM


  • Hi,

    Copy the ASMX file to

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI folder.

    And copy the required assembly to the GAC.  Then, in your browser, try http://SITEURL/_vti_bin/ajaxws.asmx [your AJAX WebService]

    Then, you should be able to reference the webservice.



    Regards Ranga www.sharepointfrontier.com
    • Proposed as answer by Shimin Huang Monday, July 25, 2011 9:26 AM
    • Marked as answer by Shimin Huang Friday, July 29, 2011 6:34 AM
    Friday, July 22, 2011 1:38 PM