Download the Solution Example here: DisplayMultiplePopups.dbsln
Download the Solution Example here:
Solution Name: DisplayMultiplePopups
Software Version: 10.0.6
Keywords: Display. MultiplePopups. Popups With Parameters.
Solution 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.
Technical Information
There are two mainly brunch to use popups into FrameworX, the .NET based clients and the HTML based clients, following we will show some information about each one.
.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.