AutoPostBack

Applies to

CheckBox and RadioButton controls

Description

You can reduce postbacks and improve performance by setting the AutoPostBack property for certain controls to false. When you set a control’s AutoPostBack property to false, all events related to that control are triggered only in the processing of the next postback caused by another control in the Web Forms application.

Usage


In scripts

You must surround the AutoPostBack property in a conditional compilation code block for Web Forms applications:

#IF DEFINED PBWEBFORM THEN
   cbx_1.AutoPostBack = false 	  
#END IF