Double PostBack

Discussion in 'ASP .Net' started by dwclark@gmail.com, Mar 15, 2006.

  1. Guest

    Hi all,
    The issue I'm having is when a control is fired and causes a post
    back, the page actually refreshes twice. Once as a postback and the
    second time is not. I created a simple aspx page with one button and
    in the Page_Load section did a
    System.Diagnostics.Trace.WriteLine(IsPostBack). When I click the
    button, i get True and then False in my Output window. Does anyone
    have an answer?
    , Mar 15, 2006
    #1
    1. Advertising

  2. Winista Guest

    Do you have AutoWireEvent attribute set to true on your page?

    --
    Netomatix
    http://www.netomatix.com
    <> wrote in message
    news:...
    > Hi all,
    > The issue I'm having is when a control is fired and causes a post
    > back, the page actually refreshes twice. Once as a postback and the
    > second time is not. I created a simple aspx page with one button and
    > in the Page_Load section did a
    > System.Diagnostics.Trace.WriteLine(IsPostBack). When I click the
    > button, i get True and then False in my Output window. Does anyone
    > have an answer?
    >
    Winista, Mar 15, 2006
    #2
    1. Advertising

  3. Joey Guest

    Is your page named "Default.aspx"? I have seen this many times in my
    apps. Wish I knew what causes it!
    Joey, Mar 16, 2006
    #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. Web learner

    from List <double> to double[]

    Web learner, Apr 25, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    480
  2. sb
    Replies:
    4
    Views:
    305
    Alberto Barbati
    Feb 19, 2004
  3. Jacek Dziedzic
    Replies:
    5
    Views:
    384
    Old Wolf
    Apr 8, 2004
  4. ferran
    Replies:
    9
    Views:
    3,030
    Kevin Goodsell
    Apr 12, 2004
  5. Sydex
    Replies:
    12
    Views:
    6,489
    Victor Bazarov
    Feb 17, 2005
Loading...

Share This Page