Home
Do your controls autopostback?
  v1.0 Posted at 19/02/2015 1:01 PM by Rebecca Liu

When visitors are navigating through your site and they need to make a selection from a control with fixed values, it is best to have the control automatically post back. This makes navigating your site quicker as the user does not have to click other buttons to see the changes which they have made. It is also important to remember that controls which do not have set values, such as text boxes, should have a "Show" button available to click once the visitor is finished entering their data.

Bad
Figure: Bad Example - because the combos can be set to autopostback and should not have a "Show" button.
Combo boxes with fixed values
Figure: Good Example - because the combo boxes have fixed values and can autopostback.
Bad
Figure: Bad Example - because the text boxes do not have fixed data and thus should have a "Show" button.
Good
Figure: Good Example - because there is a "Show" button as the text boxes do not contained fixed data.
Good
Figure: Good Example - because the combos can be set to autopostback while the text boxes have the "Show" button available.

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments: