locked
Access Web Method in JavaScript RRS feed

  • Question

  • Hi,

    I have a project that use Web Service with BeginXXX and EndXXX Methods  to apply asynchronous calls and override of IHttpAsyncHandler Method. Also i'm trying do the call from JavaScript. 

    So, the problem is i can't access the main method XXX, only BeginXXX and EndXXX.

    There is any way to call the XXX method from JavaScript? 

    • Moved by Jason Dot Wang Wednesday, September 25, 2013 2:17 AM This thread is about ASP.NET
    Tuesday, September 24, 2013 12:38 PM

Answers

  • Hi linkadson,

    This forum is to discuss problems of C# development.

    You'll need to post it in the dedicated ASP.Net Forum http://forums.asp.net for more efficient responses, where you can contact ASP.NET experts.

    Thanks.


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    • Marked as answer by linkadson Monday, September 30, 2013 4:22 PM
    Wednesday, September 25, 2013 2:06 AM

All replies

  • Hi linkadson,

    This forum is to discuss problems of C# development.

    You'll need to post it in the dedicated ASP.Net Forum http://forums.asp.net for more efficient responses, where you can contact ASP.NET experts.

    Thanks.


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    • Marked as answer by linkadson Monday, September 30, 2013 4:22 PM
    Wednesday, September 25, 2013 2:06 AM
  • Hi linkadson,

      

      Then you should refere to the below article.

    http://blog.prabir.me/post/Consuming-ASPNET-Web-Services-using-JQuery.aspx

      Hope this helps.


    orichisonic http://blog.csdn.net/orichisonic If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    Wednesday, September 25, 2013 2:16 AM