The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientPopupControlBase.ShowAtElementByID(id) Method

Invokes the control's window and displays it over an HTML element specified by its unique identifier.

Declaration

ShowAtElementByID(id: string): void

Parameters

Name Type Description
id string

A string value that specifies the hierarchically qualified identifier of an HTML element relative to whose position the window is invoked.

Remarks

Use the ShowAtElementByID method on the client side to display the control's window at a position which relates to an HTML element specified by the id parameter. The id parameter is the element's fully qualified identifier (for server controls this identifier is specified by the ClientID property).

Note

For ASPxPopupControl only:

The ShowAtElementByID method can be used, for example, when it's necessary to display the default popup window in response to a specific user action not listed by the ASPxPopupControl.PopupAction property or over a specific HTML element that differs from the element specified by the ASPxPopupControl.PopupElementID property.

A call to the ShowAtElementByID method displays the default popup window at a position specified by the ASPxPopupControl.PopupHorizontalAlign, ASPxPopupControl.PopupHorizontalOffset, ASPxPopupControl.PopupVerticalAlign and ASPxPopupControl.PopupVerticalOffset properties relative to the specified HTML element.

See Also