Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
Download the Solution Example here: MultiplePopups.dbsln


  • Solution Name: Multiple Popups
  • Software Version: v10
  • Keywords: Popups, Displays

Summary

Popups are useful tools for displaying additional information without redirecting the user to a new page. They are especially effective for showing lists of objects in a standardized way, ensuring a consistent and intuitive user experience.

In this example we are showing different ways to open a Popup in a solution. The example also shows how to create reusable popup displays that can be opened side by side and mapped to different tags in the application.

Note

Due to limitations with the OpenDisplay method, the first button will only function if the background is maximized and no other pop-ups are open.


Technical Information

There are two main ways to implement pop-ups - with .NET based clients and HTML based clients. 

.NET based Popups

In C# with .NET Framework 4.6.2, pop-ups can be implemented using the ToolTip or Popup class within the System.Windows.Controls.Primitives namespace. These classes provide flexible options for displaying additional information or UI elements without navigating away from the current window. Pop-ups can be styled and positioned dynamically based on user interactions.

HTML based Popups

This example shows how to open multiple instances of the same pop-up window, using the OpenDisplay Script, NewPopup Script, and using the RunExpression action.

In order to allow each instance to map dynamically to different tags, the NewPopup method requires specific parameters. The CodeBehind of the main page Display has the script example for that method call.


Reference Information

→ See Displays (Desktop and Web) for more information.

→ See Multiple Popups for more information.


In this section:

Page Tree
rootSolution Examples
spacesV10