Skip to main content

ASPxClientPopupMenu.SetPopupElementID(popupElementId) Method

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

Declaration

SetPopupElementID(
    popupElementId: string
): void

Parameters

Name Type Description
popupElementId string

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

Remarks

Use the client SetPopupElementID method to specify the web control or HTML element whose specific mouse action, defined via the ASPxPopupMenu.PopupAction property invokes the current popup menu control. You can also specify a list of control IDs separated by a semicolon (;).

clientPopupMenu.SetPopupElementID('ASPxGridView1;ASPxGridView2;ASPxGridLookup1');

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

See Also