Why Does Page.IsPostBack Fire More Than Once When Using Firefox?

Discussion in 'ASP .Net' started by Joey, Aug 3, 2007.

  1. Joey

    Joey Guest

    This is causing us a lot of pain right now. Does anyone know why this
    happens and, more importantly, how to fix it?

    TIA

    JP
     
    Joey, Aug 3, 2007
    #1
    1. Advertising

  2. Joey

    darrel Guest

    > This is causing us a lot of pain right now. Does anyone know why this
    > happens and, more importantly, how to fix it?


    Can you clarify? Page.ispostback is just a state you can check in your code
    behind. It's not something that really executes per se.

    -Darrel
     
    darrel, Aug 3, 2007
    #2
    1. Advertising

  3. Joey

    Joey Guest

    On Aug 3, 3:52 pm, "darrel" <> wrote:
    > > This is causing us a lot of pain right now. Does anyone know why this
    > > happens and, more importantly, how to fix it?

    >
    > Can you clarify? Page.ispostback is just a state you can check in your code
    > behind. It's not something that really executes per se.
    >
    > -Darrel


    Okay, in my Page_Load event handler, I have a code block set up within
    a if(!this.Page.IsPostBack) {}. If I set a breakpoint inside it, the
    code executes just once as expected when using IE. However, it
    executes at least twice each time when using Firefox. Does that help?
     
    Joey, Aug 6, 2007
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joey
    Replies:
    2
    Views:
    4,047
  2. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,216
    Smokey Grindel
    Dec 2, 2006
  3. lds
    Replies:
    0
    Views:
    400
  4. AndiRudi

    Use IsPostBack for more than one roundtrip

    AndiRudi, Jul 23, 2005, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    127
    Harolds
    Jul 25, 2005
  5. Gancy
    Replies:
    4
    Views:
    241
    Rasto Levrinc
    Feb 3, 2005
Loading...

Share This Page