PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

Button click and Page refresh issue.

 
 
Lenny Shprekher
Guest
Posts: n/a
 
      23rd Feb 2005
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.


 
Reply With Quote
 
 
 
 
W.G. Ryan eMVP
Guest
Posts: n/a
 
      24th Feb 2005
Are you coding around the Postback ie if(!Page.IsPostBack){
}?

--
W.G. Ryan MVP (Windows Embedded)

TiBA Solutions
www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"Lenny Shprekher" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.
>
>



 
Reply With Quote
 
Lenny Shprekher
Guest
Posts: n/a
 
      24th Feb 2005
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.


"W.G. Ryan eMVP" <(E-Mail Removed)> wrote in message
news:e$(E-Mail Removed)...
> Are you coding around the Postback ie if(!Page.IsPostBack){
> }?
>
> --
> W.G. Ryan MVP (Windows Embedded)
>
> TiBA Solutions
> www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
> "Lenny Shprekher" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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.
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue in button click event in content page Valli Microsoft ASP .NET 1 29th Nov 2008 05:14 AM
Refresh Form after Enter data by click on submit button. billy_pit Microsoft Access Reports 1 18th Dec 2007 07:28 PM
Refresh and Button Click Fabiano Microsoft ASP .NET 2 31st May 2005 03:02 AM
Button click and Page refresh issue. Lenny Shprekher Microsoft ASP .NET 4 23rd Feb 2005 07:33 PM
Page.SmartNavigation = True (Button click and Page refresh issue) Lenny Shprekher Microsoft ASP .NET 0 23rd Feb 2005 06:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:32 PM.