Skip to main content

ASPxClientPopupControl.SetWindowPopupElementID(window, popupElementId) Method

Sets the ID of a web control or HTML element (or a list of IDs) with which the current popup control’s window is associated.

Declaration

SetWindowPopupElementID(
    window: ASPxClientPopupWindow,
    popupElementId: string
): void

Parameters

Name Type Description
window ASPxClientPopupWindow

An ASPxClientPopupWindow object representing a popup control’s window.

popupElementId string

A string value specifying the ID (or a list of IDs) of the web control or HTML element with which the popup control’s window is associated.

Remarks

Use the client SetWindowPopupElementID method to specify the web control or HTML element whose specific mouse action defined via the PopupWindow.PopupAction property invokes the specified popup control’s window. You can also specify a list of control IDs separated by a semicolon (;).

To specify this value on the server side, use the PopupWindow.PopupElementID property.

See Also