Results 1 to 3 of 3

Thread: javascript to call webmethods

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2003
    Location
    Sydney
    Posts
    1,123

    javascript to call webmethods

    Well, this is the scenario. I am creating a "person" tracker using google maps and I need to update the location of the "person" in the map without refreshing the page.

    The person has a handheld device that sends periodic gps locations via a web service that gets saved in a database. The first time the page is loaded, it shows the right location. I have a webmethod ready that can send back the updated location.

    I am using VS2008 with ASP.Net AJAX 3.5 (with SP1 I think). I have a timer which ticks every 30 seconds. once the timer ticks, i want a something from the front-end to connect to the webmethod and gather the new location and update the map. I know how to update the map without reloading it. I just want to get the data from the webmethod from the fornt-end.

    I hope I a was clear enough with that.

  2. #2
    Learning .Net danasegarane's Avatar
    Join Date
    Aug 2004
    Location
    VBForums
    Posts
    5,853

    Re: javascript to call webmethods

    See this one
    Please mark you thread resolved using the Thread Tools as shown

  3. #3
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: javascript to call webmethods

    You might also want to take a look at this article here as well:

    http://dotnetslackers.com/articles/a...s-using-jquery

    Hope that helps!

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width