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.
Note |
---|
Due to the limitations regarding with the OpenDisplay method OpenDisplay, the first button will only work function if the background is maximized and no other popups pop-ups are openedopen. |
Technical Information
There are two main ways to implement popups pop-ups - with .NET based clients and HTML based clients.
.NET based Popups
In C# with .NET Framework 4.6.2, popups 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. Popups 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 popup 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 mainpage main page Display has the script example for that method call.
Reference Information
→ See "Displays and Visualization” for more information.
In this section:
Page Tree | ||||
---|---|---|---|---|
|