protected override void CreatePopupEditForm()
        {
            if (RenderHelper.RequireRenderEditFormPopup)
            {
                PopupEditForm = new ASPxSmartGridViewHtmlEditFormPopup(Grid, DataProxy.EditingRowVisibleIndex);

                Controls.Add(PopupEditForm);

                PopupEditForm.EnableViewState = false;
                PopupEditForm.ClientSideEvents.CloseButtonClick = Scripts.GetClosePopupEditFormFunction().ToCommonEventHandler();
            }
        }
        protected override void CreatePopupEditForm()
        {
            if (RenderHelper.RequireRenderEditFormPopup)
            {
                PopupEditForm = new ASPxSmartGridViewHtmlEditFormPopup(Grid, DataProxy.EditingRowVisibleIndex);

                Controls.Add(PopupEditForm);
                
                PopupEditForm.EnableViewState = false;
                PopupEditForm.ClientSideEvents.CloseButtonClick = Scripts.GetClosePopupEditFormFunction().ToCommonEventHandler();
            }
        }