Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Gmaps Google InfoWindow

Gmaps Google InfoWindow

Scheduled Pinned Locked Moved ASP.NET
databasehtmlmysqlsysadminhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Krazy Programmer
    wrote on last edited by
    #1

    Hi, (I have downloaded a control from net named GoogleMapForASPNet.ascx) My aim is store some values in a database . So when the user is clicking on a point on GMAP a info window is getting raised up and in that few textboxes with a submit button is placed . i want to store the text box data into mysql database * I dont want the page to get post back what i have tried Placed a html submit button and under Form i have written method="post" and action='apage.aspx' now on submit button i am passing data via query string .. .. ... problem is its navigating to that apage.aspx # is there anyway to stop navigating ? Secondly i have placed a html button and added runat="server" and on onserverclick="butclick" # Please tell me where to write the butclick function , i tried with writing the function in current page as well as the control page . but no result # if i was wrong with two concepts .. please suggest something to solve this problem Happy programming

    If You win You need not Explain............ But If You Loose You Should not be there to Explain......

    A 1 Reply Last reply
    0
    • K Krazy Programmer

      Hi, (I have downloaded a control from net named GoogleMapForASPNet.ascx) My aim is store some values in a database . So when the user is clicking on a point on GMAP a info window is getting raised up and in that few textboxes with a submit button is placed . i want to store the text box data into mysql database * I dont want the page to get post back what i have tried Placed a html submit button and under Form i have written method="post" and action='apage.aspx' now on submit button i am passing data via query string .. .. ... problem is its navigating to that apage.aspx # is there anyway to stop navigating ? Secondly i have placed a html button and added runat="server" and on onserverclick="butclick" # Please tell me where to write the butclick function , i tried with writing the function in current page as well as the control page . but no result # if i was wrong with two concepts .. please suggest something to solve this problem Happy programming

      If You win You need not Explain............ But If You Loose You Should not be there to Explain......

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      Dont use submit button, rather use normal button and use XMLHttpRequest to call through AJAX. Take a look on AJAX request using Javascript: http://www.w3schools.com/XML/tryit.asp?filename=tryxml_httprequest_js[^] here when you click on the button it gets you the ajax response by raising an http call to the server. For further help on the whereabouts of that object use http://www.w3schools.com/XML/xml_http.asp[^] :rose::rose:

      Abhishek Sur

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups