我是使用代码对ASPxGridView 进行的数据绑定
editfrom使用PopupEditForm我想在添加完一条记录后关闭PopupEditForm 如何实现能 一直没找到方法撒
protected void appGrid_RowInserting(object sender, DevExpress.Web.Data.ASPxDataInsertingEventArgs e)
{
//方法
Insert();
int pageindex = gridPager.PageIndex;
BindData(pageindex);
e.Cancel = true;
}
editfrom使用PopupEditForm我想在添加完一条记录后关闭PopupEditForm 如何实现能 一直没找到方法撒
protected void appGrid_RowInserting(object sender, DevExpress.Web.Data.ASPxDataInsertingEventArgs e)
{
//方法
Insert();
int pageindex = gridPager.PageIndex;
BindData(pageindex);
e.Cancel = true;
}
前台 <asp:ObjectDataSource ID="odsDDL" runat="server" SelectMethod="GetDDL" TypeName="CreateTech.Retail.Web.CommonClass">
</asp:ObjectDataSource>后台得到一个集合方法
/// <summary>
/// 基礎資料
/// </summary>
/// <returns></returns>
public Dictionary<int, string> GetDDL()
{
return ConstValue.DICTBASEDATATYPE;
}
e.Cancel = true;
Grid.CancelEdit();