Difference between AutoPostBack=True and AutoPostBack=False?

后端 未结 10 1924
广开言路
广开言路 2020-12-01 09:07

What\'s the difference between AutoPostBack=True and AutoPostBack=False?

10条回答
  •  感动是毒
    2020-12-01 09:48

    AutoPostBack property:

    Asp.net controls which cannot submit the Form (PostBack) on their own and hence ASP.Net has provided a feature using

     AutoPostBack = "true"
    

    : which controls like DropDownList, CheckBoxList, RadioButtonList, etc. can perform PostBack(when clicked on it).

    And

    AutoPostBack = "false"
    

    It is the by default state of controls which can perform Postback on button submit.

提交回复
热议问题