<Register>

The Register tag enables you to use third-party controls in your XMod Pro forms. Note that only controls created specifically for XMod Pro can be used.

Syntax

<Register
    TagPrefix="string"
    Namespace="string"
    Assembly="string"
/> 
 

Remarks

Back to top

Example

<register tagprefix="ctb" namespace="Acme.CoolTools.TextTools" assembly="Acme.CoolTools" />
<addform>

  <submitcommand commandtext="INSERT INTO Users(FirstName, LastName) VALUES(@FirstName, @LastName)" />
  <table>
    <tr>
      <td>
         <label for="txtFirstName" text="First Name" />
         <ctb:CoolTextBox id="txtFirstName" makeitcool="true" datafield="FirstName" datatype="string" />
       </td>
    </tr>
    <tr>
      <td>
        <label for="txtLastName" text="Last Name" />
        <
textbox id="txtLastName" datafield="LastName" datatype="string" />
      </td>
    </tr>
    <tr>
      <td colspan="2">
        <addbutton text="Add"/> <cancelbutton text="Cancel"/>
      </td>
    </tr>
  </table>
</addform>
Back to top