Creating ASP.NET Forms

This section will describe how to create and manage a Form, how to set the different variables associated with the Form form fields, and how to implement your custom scripting. You'll notice some differences from previous versions, such as no more Form page refresh. Forms now utilize AJAX which eliminates the page refresh when using events. Please keep in mind; this is for Form development using ASP.Net. We won't be using the Form builder for this section.

For more information about the Form and its properties please refer to the Implementers Reference Guide.

Adding a New Form Definition

Process Director can create new Forms as ASCX controls for you. Simply select Form Definition from the Create New dropdown menu to open the Create Form screen.

You have three options to create the ASCX control Form from the Create Form screen. You'll find the options in the dropdown at the top of the Create Form screen.

The three relevant options from which to choose are Upload Selected Form, Use Empty .ASCX Form, and Use Template .ASCX Form, all of which are discussed below.

Editing an ASP.NET Form #

ASP.NET Forms can, once created, be edited by navigating to the Edit tab of the Form definition.

Check out the ASCX form by clicking the Check Out button. Doing so will check out the form for editing and give you access to the editing features of the form definition.

To edit the form in Visual Studio, you can download it by clicking the Download Form button to download the form to your local computer. You can also stop the editing process at any time, and revert to the currently saved version of the form by clicking the Cancel Check Out button.

Once you're done editing the form, you can provide the appropriate text for the Check In Description, then click the Browse button to find the editied version of the form on your local computer and select it for upload. Once you've done so, click the Upload New Version button to upload and check in the edited form, which will replace the existing form with the newly edited version.