<CancelButton>

The CancelButton tag renders as a button at run-time. When clicked, the form closes without performing any actions and returns to the previous view if possible.

Syntax

<cancelbutton
    AccessKey="string"
    BackColor="color name|#dddddd"
    BorderColor="color name|#dddddd"
    BorderStyle="NotSet|None|Dotted|Dashed|Solid|Double|Groove|Ridge|Inset|Outset"
    BorderWidth="size"
    CssClass="string"
    Font-Bold="True|False"
    Font-Italic="True|False"
    Font-Names="string"
    Font-Overline="True|False"
    Font-Size="string|Smaller|Larger|XX-Small|X-Small|Small|Medium|Large|X-Large|XX-Large"
    Font-Strikeout="True|False"
    Font-Underline="True|False"
    ForeColor="color name|#dddddd"
    Height="size"
    OnClientClick="string"
    Redirect="url"
    RedirectMethod="Get|Post"
    Style="string"
    TabIndex="integer"
    Text="string"
    ToolTip="string"
    Visible="True|False"
    Width="size"
/> 
 

Remarks

Back to top

Example

<addform>
  ...
  <table>
    <tr>
      <td>
        <label target="txtFirstName" text="First Name" />
        <textbox id="txtFirstName" datafield="FirstName" datatype="string" />
      </td>
    </tr>
    <tr>
       <td>
         <label target="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