Using WinControls version 2014.3.1202.40
I am attempting to keep a list of all popups that have been displayed so far so I can programmatically close certain popups based on a condition, later. So after creating a list and adding a reference of a popup to it, the reference to it in the list disappears after calling .show() on the alert object.
A simple example:
var listOfPopups =
new
List<RadDesktopAlert>();
var alert =
new
RadDesktopAlert();
listOfPopups.Add(alert);
// listOfPopups.Count == 1 now.
alert.Show();
// listOfPopups.Count == 0 now...
Is this by design? And if so, is there any other way to keep track of them, or get access to the popups through the desktopAlertManager?
Thanks,