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

Compare with Current View Page History

« Previous Version 13 Next »

Download the Solution Example here: DisplayMultiplePopups.dbsln


Solution Name: DisplayMultiplePopups

Software Version: 10.1


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.

Due to the limitations regarding the method OpenDisplay, the first button will only work if the background is maximized and no other popups are opened.


Technical Information

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

.NET based Popups

In C# with .NET Framework 4.6.2, popups 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. Popups can be styled and positioned dynamically based on user interactions.

HTML based Popups

This example shows how to open multiple instances of the same popup 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 mainpage Display has the script example for that method call.


Reference Information

→ See "Displays and Visualization” for more information.


In this section:

  • No labels