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

ASPxClientPopupControlBase.Hide Method

Closes the control's window.


Hide(): void


Use the Hide method on the client side to hide the control's window.


The example illustrates how to return values from the ASPxPopupControl's ASPxPopupControlBase.ContentUrl page. The ContentUrl page calls the “HidePopupAndShowInfo” function, which is defined on the parent page. The function is called on the client and server sides.

See Also

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v13.1, Version=, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head runat="server">

    <script type="text/javascript">
        function OnBtnShowPopupClick() {
        function HidePopupAndShowInfo(closedBy, returnValue) {
            alert('Closed By: ' + closedBy + '\nReturn Value: ' + returnValue);

    <form id="form1" runat="server">
            <input id="btnShowPopup" type="button" onclick="OnBtnShowPopupClick();" value="Show Popup" />
            <dx:ASPxPopupControl ID="popup" runat="server" ClientInstanceName="popup" ContentUrl="~/PopupContent.aspx"
                Width="300px" Height="200px">

See Also