Devexpress Gridwiew工具栏自定义按钮没有反应

时间:2017-09-30 09:15:00

标签: devexpress toolbars

我有一个问题,

Devexpress AspxGridwiew ToolBars CustomButtons不工作。?

enter image description here

事件

 protected void ASPxGridView1_CustomButtonCallback(object sender, ASPxGridViewCustomButtonCallbackEventArgs e)
    {
        if (e.ButtonID != "Detay") return;
        id = ASPxGridView1.GetRowValues(ASPxGridView1.FocusedRowIndex, "ID").ToString();
        ASPxPopupDetay.PopupHorizontalAlign = PopupHorizontalAlign.WindowCenter;
        ASPxPopupDetay.PopupVerticalAlign = PopupVerticalAlign.WindowCenter;
        ASPxPopupDetay.Modal = true;
        ASPxPopupDetay.ShowOnPageLoad = true;
    }

ScreenCast

1 个答案:

答案 0 :(得分:0)

解决

AspxGridview.EnableCallBacks = False;