Form

Form Designer

Design mode

ASP.NET editor

Click the .NET icon at the far right of the toolbar to open the ASP.NET code editor, which can be used to define server-side procedures, events, and global variables to handle any specific custom tasks. This feature is mainly intended for ASP.NET developers.

AJAX mode

If you're using the form designer, you can enable AJAX mode by checking Enable AJAX mode on the General tab of the form configuration panel.

If you're using Visual Studio to develop a custom ASPX form in AJAX mode, do the following:

  1. In the <form runat="server"> element, add a ScriptManager at the beginning of the form and wrap all the form content in the contenttemplate of an UpdatePanel.

    Example:

     <form id="form1" name="form1" runat="server">
     <asp:scriptmanager id="ScriptManager1" runat="server"></asp:scriptmanager>
     <asp:updatepanel id="UpdatePanel1" runat="server">
     <contenttemplate>
     ... form content ...
     </contenttemplate>
     </asp:updatepanel>
     </form>
  2. Since standard FileUpload controls are not supported inside the UpdatePanel, use our custom WorkflowFileUpload user control for your attachment needs.

  3. Add the following line in the page constructor to prevent an issue that can occur when updating a row in a GridView:

     this.UseClientSideOptimization = false;

    You will see no difference at runtime, since all this does is prevent a postback when clicking the Update button and the validation fails. The UpdatePanel already prevents postback.

  4. Register the postback triggers either in the Page_Load event or directly in the ASPX page.

Toolbar

Design mode

ASP.NET editor

Form configuration

A form created with the built-in form designer has one header, one or several sections, one or several fields per section, a Submit button, an optional Save as a draft button, and one footer.

General tab

Web references tab

Translations tab

Last updated