What is the difference between autopostback and ispostback?

Questions by parvesh devi

Showing Answers 1 - 2 of 2 Answers

Amit Malhotra

  • Jul 3rd, 2007

Autopostback - Property of the control
IsPostback - Property of the Page class

Autopostback - get and set property to control postback on changes made for control.
for e.g.
this.ListBox1.AutoPostBack = true;
whenever user will select item, the page will get post back.

IsPostback - get property of the Page class, to check if page is post back i.e. if it is true then page has already executed Init function of the page else it is first time the page has requested to be executed.

Hope it will help.


  • Jul 12th, 2011

postback is the property which is applied for the controls and
ispostback is the property for the complete page

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Answer Question

Click here to Login / Register your free account

Send   Reset


Related Answered Questions


Related Open Questions