Re: Postback in Firefox and IE
- From: Diffident <Diffident@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 07:26:02 -0700
Grant,
I tried with "if(!Page.IsPostBack)" but it is behaving the same way.
Any ideas?
"Grant Merwitz" wrote:
> Now thats a wierd one.
> Just to test, does
> if(!Page.IsPostBack)
>
> behave differently
>
>
> "Diffident" <Diffident@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:3CA43623-F385-4985-A26C-2C229CE9D0DC@xxxxxxxxxxxxxxxx
> > 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!!!
>
>
>
.
- References:
- Postback in Firefox and IE
- From: Diffident
- Re: Postback in Firefox and IE
- From: Grant Merwitz
- Postback in Firefox and IE
- Prev by Date: Re: Forms auth for directory
- Next by Date: Re: Postback in Firefox and IE
- Previous by thread: Re: Postback in Firefox and IE
- Next by thread: Re: Postback in Firefox and IE
- Index(es):
Relevant Pages
|