AutoPostBack="true" for automatic postback of controls - ASP.NET Globalization and Localization

Q.  Some control, by default, does not cause an automatic PostBack, i.e TextChanged event of TextBox. Which property will you set for automatic postback of these types of controls?
- Published on 28 Jul 15

a. isPostBack=”false”
b. isPostBack=”true”
c. PostBack=”true”
d. AutoPostBack=”true”

ANSWER: AutoPostBack=”true”
 

    Discussion

  • Brijesh   -Posted on 19 Oct 15
    In ASP.NET some of the control, does not have AutoPostBack=true by default. As example TextBox, DropdownList, CheckBox, RadioButton etc. So the default event will not work of these control if AutoPostBack property is not set as true. For automatic PostBack set AutoPostBack=true.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)