BootstrapPopupControl Class
In This Article
A web control that enables you to add the popup window functionality to your web application.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.dll
NuGet Package: DevExpress.Web.Bootstrap
#Declaration
[DXClientDocumentationProviderWeb("BootstrapPopupControl")]
[ToolboxTabName("DX.24.2: Bootstrap Controls")]
public class BootstrapPopupControl :
ASPxPopupControl,
ISimpleRenderControl,
IBootstrapPopupCssClassesOwner
#Remarks
Note
The Bootstrap
- The control’s client-side equivalent is represented by the Bootstrap
Client object.Popup Control - On the client side, the client object can be accessed directly by the name specified via the ASPx
Popup property.Control Base. Client Instance Name - The available client events can be accessed by using the ASPx
Popup property.Control. Client Side Events
The control’s client-side API is enabled if the ASPx
#Example
This example demonstrates the basic functionality of the Popup Control.
- Initialize a new instance of the
BootstrapPopupControl
class. - Populate the
BootstrapLayoutItem.ContentCollection
array with required content controls.
The image below shows the result:
<div id="default-popup-control-1" class="popup-target popup-target-sm"></div>
<dx:BootstrapPopupControl runat="server" ShowOnPageLoad="true" PopupElementCssSelector="#default-popup-control-1"
PopupHorizontalAlign="Center" PopupVerticalAlign="Middle" Width="500px" CloseAction="CloseButton">
<ContentCollection>
<dx:ContentControl>
...
</dx:ContentControl>
</ContentCollection>
</dx:BootstrapPopupControl>
#Inheritance
See Also