ASP.NET Refresh Problem

Discussion in 'ASP .Net Web Controls' started by wright, Oct 21, 2003.

  1. wright

    wright Guest

    hello, i have a problem in refreshing a page. the problem happens when i
    click a button that does a certain action in a web page, such as inserting a
    record into the database, if now i refresh the page (press f5), the action
    repeats itself and another identical record is inserted too.
    i discovered that the button_click event is called when i refresh the page.
    so the problem is that when i refresh the page, the last action that i have
    done on the page is refired.
    if anybody can tell me how to solve this problem ill be thankfull...
    wright, Oct 21, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. brian lanning
    Replies:
    0
    Views:
    591
    brian lanning
    Jul 29, 2003
  2. MB
    Replies:
    2
    Views:
    4,132
  3. Per Magnus L?vold
    Replies:
    1
    Views:
    5,116
    John C. Bollinger
    Oct 8, 2004
  4. Pkenty
    Replies:
    0
    Views:
    388
    Pkenty
    May 28, 2004
  5. Jawahar Rajan
    Replies:
    1
    Views:
    290
    Adrienne
    Oct 1, 2003
Loading...

Share This Page