Button click and Page refresh issue.

  • Thread starter Thread starter Lenny Shprekher
  • Start date Start date
L

Lenny Shprekher

I am using regular server site ASP.NET button to execute function. Works
fine, issue is that when I call page-refresh on IE after click I done it is
calling same event again.
Could anybody suggest how to prevent this behavior?

Thanks,
Leonid.
 
Are you coding around the Postback ie if(!Page.IsPostBack){
}?
 
Yes, somehow this is known issue and nobody could provide sample or link to
sample how to avoid this issue.
Could you? Idea is simple, server-site button on webform calling some
function, then click refresh and same function called again.

Leonid.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top