Results 1 to 25 of 25

Thread: How to prevent postback on button click.

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2004
    Posts
    149

    How to prevent postback on button click.

    I have this one window which is a webform for a service request. On the form are buttons that will open another window to allow the user to make choices which will then get returned to the opening window.

    The problem is that unless the values are returned to textboxes the returned values will get wiped out when you click a button to open another window. Such as the HTML that I return to a label for display purposes.

    Now the problem is that when the button is clicked it posts back to the server.

    Can anyone tell me how to prevent postback on the button click.

    Thanks.
    Last edited by token; Jan 11th, 2005 at 12:16 PM.

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