Skip to end of banner
Go to start of banner

Repeater Control

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

IN-PROGRESS

In EmpowerID, a newly introduced feature is the Repeater Control. This control distinguishes itself from the conventional empowered controls visible upon clicking any field, entering the edit mode, and accessing the controls tab, where a list of controls is traditionally displayed. Instead, the Repeater Control serves as a technique for rendering sections repeatable, providing users with a distinct technique for managing repetitive content.

Here are the steps to create a Repeater control and make sections repeatable:

  1. On your Form go to the Data Sources right click on it and select Add Data Source option.

  2. The Add New Data Source dialog box will appear. From there, select the Create New Data Source option and click on the Next button.

  3. Enter any name in the Data Source Name textbox. From the DataSource Type dropdown, select the Static option. In the Static Type List field, provide the name of your component view that you want to bind with the Repeater Control or Section. Click on the Finish button.

  4. Once your Datasource of type Static is created right click on it and select the Create List Object for this DataSource option

  5. An object will be created, namely ListObject1. Double-click on it and rename it to your preferred name, for example, ListObjectAddress.

  1. Save and close your form, then reopen it so that all the attributes of your static DataSource can be loaded correctly.

  1. Now right click on the section and click on the edit option.

  2. A Selection Configuration dialog box will appear. To make your Section repeatable, select your static data source from the Repeating Datasource dropdown. The next important property is the Repeating Parameter Prefix; type any meaningful name into it.

Repeating Parameter Prefix: In this property, you provide the value to prefix your repeater control. This means that in the code behind or backend, if you want to access your repeater control, you would have to use this property’s name.

  • No labels