​​How to display a popup dialogue to open a Panel in a form?

Last Update: June 22, 2018

In this scenario, we will describe how to update and delete items from a list named "States" from within "Countries" list. Here are the steps on how to do that:

  1. Open the form in design mode.
  2. Add the following to the form design workspace area:
    How to display a popup dialogue to open a Panel in a form1.jpg

    Set the Layout property of the Panel1 to Relative.
    Set the Layout property of the Panel2 to Absolute.
    Set the Layout property of the Panel3 to Absolute.
  3. Select the btnCloseItemsPanel.
  4. In the Rules pane, click on the Add icon to add a new rule, the Rule Manager dialog will open.
    How to auto-shifting Panel control in a form2.jpg
  5. Add a new rule as follows:
    A. Change the Rule Name as desired.
    B. Change the Rule Type to Action.
    C. Keep the Event Type onClick.
    D. In the Action section, type the following script:
        closeDialog(Panel11);
    E. Click on the Save button to save the rule.
    Note: You can use Assistance Panel to help you adding functions and related parameters, form variables and form controls to Conditions and/or Actions sections.
  6. Select the btnViewItems
  7. In the Rules pane, click on the Add icon to add a new rule, the Rule Manager dialog will open.
    How to auto-shifting Panel control in a form2.jpg
  8. Add a new rule as follows:
    A. Update the Rule Name if desired.
    B. Change the Rule Type to Action.
    C. Keep the Event Type onClick.
    D. In the Condition section, type the following script:
        openDialog(Panel11, '', 204, 600)
        $('#Panel11').css('display', '');
        $('#Panel11').css('overflow', 'none');
    E. Click on the Save button to save the rule.
  9. Test the form by clicking on the Preview button in the View Group.

Related Resources:
These resources may not reflect the same exact case steps.
https://www.youtube.com/embed/8ckDRORV3gQ