Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 187603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T15:51:09+00:00 2026-05-11T15:51:09+00:00

HI have js script which calls my aspx JS new Ajax.Updater(‘display’, ‘/myForm.aspx?lat=’ + lat

  • 0

HI have js script which calls my aspx

JS

new Ajax.Updater('display', '/myForm.aspx?lat=' + lat + '&lng=' + lng + '&zoom=' + zoom, { method: 'get' }); 

myForm.aspx loads the form correctly. However when i submit the form it loads a new page. How do stop the page reload??

myForm.aspx

<form id='form1' runat='server' >     <asp:ScriptManager ID='ScriptManager1' runat='server'  EnablePageMethods='true' > </asp:ScriptManager>         <uc1:FlagForm ID='FlagForm1' runat='server' />         </form> 

FlagForm.ascx

<asp:UpdatePanel ID='UpdatePanel1' runat='server'> <ContentTemplate> <table> <tr> <td>Name:</td> <td><asp:TextBox ID='TextBoxName' runat='server'></asp:TextBox></td> </tr> <tr> <td>Email:</td> <td><asp:TextBox ID='TextBoxEmail' runat='server'></asp:TextBox></td> </tr> <tr> <td>Comments:</td> <td><asp:TextBox ID='TextBoxComment' runat='server'></asp:TextBox></td> </tr> <tr> <td>Marketing Opt in:</td> <td><asp:CheckBox ID='CheckBoxOptIn' runat='server' /></td> </tr> <tr> <td>Data Protection:</td> <td><asp:CheckBox ID='CheckBoxDataProtection' runat='server' /></td> </tr> </table> <asp:HiddenField ID='HiddenFieldLng' runat='server' /> <asp:HiddenField ID='HiddenFieldLat' runat='server' /> <asp:HiddenField ID='HiddenFieldZoom' runat='server' /> <asp:Button ID='ButtonSend' runat='server' Text='Send' onclick='ButtonSend_Click' />  <asp:Label ID='LabelResults' runat='server' Text='Label'></asp:Label> </ContentTemplate>  </asp:UpdatePanel> 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T15:51:10+00:00Added an answer on May 11, 2026 at 3:51 pm

    You need to cancel the event – I think in prototype.js it’s Event.stop(), but you’ll have to have a look at where to put it

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Perl script which calls another script. The Perl script should be
I have script which allows to display Bing search results. I can call for
I have a script which calls an external API using curl. This script worked
I have a PHP script which calls another script in order to add IP
I have a PHP script which calls methods from a class I have written.
I have a DCL script on VMS which calls a perl script. Is there
I have a perl script which calls another perl script using backticks. I want
I have a perl script which calls another script. I am calling it using
We have a single page application which loads all content through ajax calls to
I have a script which calls a php file and gets the proper fields

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.