Occurs before a popup window is displayed.
public event EventHandler<PopupShowingEventArgs> PopupShowing
Public Event PopupShowing As EventHandler(Of PopupShowingEventArgs)
The PopupShowing event's handler receives an argument of the PopupShowingEventArgs type. The following properties provide information specific to this event:
|ContentUrl||Gets a URL that will be assigned to the ASPxPopupControlBase.ContentUrl property of the displayed popup.|
|PopupControl||Gets the XafPopupWindowControl object that manages the ASPxPopupControl used to display popup windows in ASP.NET applications.|
|ShowViewSource||Gets the object providing access to the popup window's source Action.|
|SourceFrame||Gets the parent Window for the current popup.|
You can handle this event to access the XafPopupWindowControl object. An example of using the PopupShowing event is provided in the How to: Adjust the Size and Style of Pop-up Dialogs (ASP.NET) topic.