Examples of Using the Togglebar Tags

The following code displays toggle applets as a select control:

<div od-type=togglebar type="Select" >
<table>
  <tr>
     <td> <div od-type=control id="1" property="DisplayName"> </td>
     <td> <div od-property="FormattedHtml"/> </td> 
  </tr>
</table>
<!--od section togglebar close–>

where:

  • SWE uses the control to create a label that is similar to the following. It places this control before the select control:

Show:

The following code displays the toggle applets as tabs or links:

<div od-type=togglebar>
   <table>
   <tr>
      <td><div od-type=togglelink property="FormattedHtml"> <div od-type=togglename> 
<!--od section togglelink close–>
      </td>
   </tr>
</table>
<!--od section togglebar close–>