AutoPostBack property=true concept

Discussion in 'ASP .Net' started by Matt, May 29, 2004.

  1. Matt

    Matt Guest

    When we set the AutoPostBack property=true in a web control, it means post
    the current form data to the IIS server, and open the current page (means
    refresh the page).

    Is that the correct logic? please advise. Thanks!!
     
    Matt, May 29, 2004
    #1
    1. Advertisements

  2. Matt

    Scott Allen Guest

    Hi Matt:

    AutoPostBack behavior depends on the type of web control you are
    setting it to "true" on. For a DropDownList the form will post back
    when the user changes the select item, for a TextBox the form will
    post back if the user changes the text in the TextBox and then moves
    focus out of the TextBox.

    What you are descriping is accurate, the form will post back, events
    on the form will fire, and the form will render for the browser again.

    HTH,

    --
    Scott
    http://www.OdeToCode.com

    On Fri, 28 May 2004 21:10:58 -0700, "Matt" <>
    wrote:

    >When we set the AutoPostBack property=true in a web control, it means post
    >the current form data to the IIS server, and open the current page (means
    >refresh the page).
    >
    >Is that the correct logic? please advise. Thanks!!
    >
    >
     
    Scott Allen, May 29, 2004
    #2
    1. Advertisements

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. KathyB
    Replies:
    3
    Views:
    4,202
    Kathy Burke
    Jul 23, 2003
  2. Kathy Burke
    Replies:
    1
    Views:
    532
    John Saunders
    Jul 23, 2003
  3. Matthew Louden
    Replies:
    1
    Views:
    550
    bruce barker
    Nov 18, 2003
  4. Matthew Louden
    Replies:
    8
    Views:
    673
    John Saunders
    Nov 19, 2003
  5. Edward
    Replies:
    1
    Views:
    14,020
    Edward
    Feb 4, 2004
  6. Mad Scientist Jr

    Validator doesn't work if autopostback=true

    Mad Scientist Jr, Jun 17, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    591
    Mad Scientist Jr
    Jun 18, 2004
  7. bdb112
    Replies:
    45
    Views:
    1,895
    jazbees
    Apr 29, 2009
  8. Matthew Louden

    why some controls must set autopostback property to be true??

    Matthew Louden, Nov 18, 2003, in forum: ASP .Net Web Controls
    Replies:
    7
    Views:
    458
    John Saunders
    Nov 19, 2003
Loading...