我有一个问题,
Devexpress AspxGridwiew ToolBars CustomButtons不工作。?
事件
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;
}
答案 0 :(得分:0)
解决
AspxGridview.EnableCallBacks = False;