Page Refresh Hell (Button event fired again)

Discussion in 'ASP .Net' started by zEE, Jun 3, 2006.

  1. zEE

    zEE Guest

    The solution to the problem is

    let say i have a function


    private void btn_delete_click(object Sender, System.EvenArgs e)
    {
    //logic to perform on button click


    // In order to reflect the changes on the current page write


    Page.Response.Redirect(Page.Request.Url.ToString(), false);
    }


    Now click F5 ............button event will not be fired

    Hope it will help u guys
    tc
    zEE, Jun 3, 2006
    #1
    1. Advertising

  2. zEE

    Waqas

    Joined:
    Aug 22, 2012
    Messages:
    4
    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. jorge
    Replies:
    2
    Views:
    1,242
    jorge
    May 26, 2004
  2. jorge
    Replies:
    1
    Views:
    397
    Teemu Keiski
    May 28, 2004
  3. jorge
    Replies:
    0
    Views:
    305
    jorge
    May 25, 2004
  4. jorge
    Replies:
    0
    Views:
    237
    jorge
    May 25, 2004
  5. Coo Coo
    Replies:
    0
    Views:
    997
    Coo Coo
    Oct 26, 2004
Loading...

Share This Page