I think you need to use AJAX to talk to the server side. Or you can use the method mentioned in this article to call the server side function without refresh the page. http://www.codeproject.com/KB/aspnet/AlvaroRemoteScripting.aspx
Here is an example implementing it. http://www.dyngeometry.com/web/Address.aspx The server side function (C# or VB) should be easy, or you can search it in google. Hope this is helpful. On Feb 4, 6:34 pm, Joe <[email protected]> wrote: > This is definitely a noob question, so please excuse.... > > I have a .NET app that I am trying to interact dynamically with. Here > is what I am trying to do: > > 1. Page loads, no map displayed > 2. User selects category > a. Click event fires on button > b. Data is retrieved from DB > c. Data is manipulated > 3. Return data to map > 4. Display map > > The part I'm not sure about is how to get the data from the server > side event to my javascript function and then fire the javascript > function. > > I am thinking I could take the javascript completely out of my HTML. > Put a literal where I want the code to be inserted. Do my stuff on the > server side event. Then write out to the literal control the finished > javascript with my data in it. > > Not sure if this is the correct way to approach it. Also not sure if I > could get the Load() javascript to fire once it's inserted. > > Ideas? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
