Skip to main content

MVCxPopupWindowCollection.Add(String, String) Method

Creates a new popup window with the specified settings and adds it to the collection.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public MVCxPopupWindow Add(
    string text,
    string name
)

Parameters

Name Type Description
text String

A String value specifying the popup window’s content text. This value is assigned to the PopupWindow.Text property.

name String

A String value specifying the name which indentifies the created popup window. This value is assigned to the PopupWindow.Name property.

Returns

Type Description
MVCxPopupWindow

An MVCxPopupWindow object representing the newly created popup window.

Remarks

Use the Add method to add a new popup window with the specified settings to the end of the MVCxPopupWindowCollection object.

See Also