Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Data Bases > Page Refresh He...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 179 of 227
Post > Topic >>

Page Refresh Hell (Button event fired again)

by handsomezee@[EMAIL PROTECTED] Jun 3, 2006 at 12:02 AM

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
 




 1 Posts in Topic:
Page Refresh Hell (Button event fired again)
handsomezee@[EMAIL PROTEC  2006-06-03 00:02:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 23 21:22:35 CDT 2008.