Postback in Firefox and IE
- From: Diffident <Diffident@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 06:48:11 -0700
Hello All,
I have a piece of rudimentary code which is behaving differently in
different browsers.
if(!this.IsPostBack)
{
//execute some code
}
This piece of code is being executed for the very first time and also each
time a page is posted back to the server on firefox and netscape navigator.
But in IE it is behaving properly.....i.e., it is executing this piece of
code only for the very first time and for post backs this code is not being
executed which is what I want the program to do.
How come this code is being executed each and every time in firefox and
navigator? Is there any technique using which I can force all the browsers to
execute this code only once?
Thanks for your help!!!
.
- Follow-Ups:
- Re: Postback in Firefox and IE
- From: Grant Merwitz
- Re: Postback in Firefox and IE
- Prev by Date: Re: Session URL Formatting
- Next by Date: Re: Stupid question
- Previous by thread: Converting Word to PDF
- Next by thread: Re: Postback in Firefox and IE
- Index(es):
Relevant Pages
|
Loading