Dreamweaver

Dynamically preselect ASP.NET CheckBox controls

You can let the server determine whether the CheckBox control is selected. At run time, the server compares a value you specified to a value in a DataSet. If the values match, the server selects the check box when the ASP.NET page is loaded in a browser.

Note: Before you begin, you must define a DataSet or other source of dynamic content for the check boxes. Ideally, the source of content should contain Boolean data, such as Yes/No or true/false.
  1. Select a CheckBox form control on the ASP.NET page.
  2. In the Property inspector, select the Dynamic option.
  3. Complete the Dynamic CheckBox options, and click OK.

    For more information on ASP.NET CheckBox properties, see the documentation on the Microsoft website at http://msdn.microsoft.com/library/en-us/cpgenref/html/cpconcheckboxwebservercontrol.asp.