ASPxClientPopupWindow.name Property
In This Article
Gets the name that uniquely identifies the current popup window.
#Declaration
TypeScript
name: string
#Property Value
Type | Description |
---|---|
string | A string value that represents a value assigned to the popup window’s Popup |
#Remarks
Use the name property to get a popup window’s name (PopupWindow.Name) that uniquely identifies the window on the client side.
The following example illustrates how to use the name property to access the identify the processed popup window in the CloseButtonClick client-side event handler.
<dx:ASPxPopupControl>
// ...
<ClientSideEvents CloseButtonClick="popup_CloseButtonClick" />
</dx:ASPxPopupControl>
<script type="text/javascript">
function popup_CloseButtonClick(s,e) {
if (e.window.name == 'window1') {
// your logic
}
}
</script>
#Online Demos
See Also