V11 Dynamically Re-Populating Choices in a Radiobutton or Checkbox Control 2

Uploaded on Jan 18, 2014 / 91 views / 457 impressions / 0 comments

alpha01803

More from this user

Description

D52 Alpha Five v11 Dialog dynamically repopulate a check box or radio button 2

In some applications, it might be necessary to repopulate the choices shown in a radiobutton or checkbox control with a new set of choices after the Dialog has initially been rendered. An Ajax callback is made where the new choices are computed on the server, then a Javascript response is sent to the browser to update the choices for the control. These videos show how this can be done (Note: The video shows an example for a checkbox, but the same principle applies to radio buttons. The only difference is that the a5w_radiobuttons() function would be used on the server to compute the HTML for a radiobutton control).
In this next video the checkbox is populated with a much larger set of choices and a snaking layout (left-to-right, top-to-bottom) for the checkboxes is specified.

Tags

  • Alpha
  • v11
  • Five