AutoPostBack property=true concept

  • Thread starter Thread starter Matt
  • Start date Start date
M

Matt

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!!
 
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,
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top