AjaxControlToolkit.PopupControlExtender.GetProxyForCurrentPopup C# (CSharp) Method

GetProxyForCurrentPopup() public static method

Returns a proxy PopupControlExtender representing the currently active popup on the specified page
Only the Cancel and Commit methods should be called on the proxy
public static GetProxyForCurrentPopup ( Page page ) : PopupControlExtender
page System.Web.UI.Page Page
return PopupControlExtender
        public static PopupControlExtender GetProxyForCurrentPopup(Page page)
        {
            var popupControlExtender = new PopupControlExtender(page);
            return popupControlExtender;
        }