我在用ASPxGridView 时自定义了editfrom模板
但是其中放了个DropDownList
我应该在什么事件里给他绑定数据呢?找了好久都没找到StartRowEditing事件貌似不行
我写了个给文本框赋值都不显示
protected void appGrid_StartRowEditing(object sender, DevExpress.Web.Data.ASPxStartRowEditingEventArgs e)
{
((TextBox)appGrid.FindEditFormTemplateControl("txtName")).Text ="aaa" }
但是其中放了个DropDownList
我应该在什么事件里给他绑定数据呢?找了好久都没找到StartRowEditing事件貌似不行
我写了个给文本框赋值都不显示
protected void appGrid_StartRowEditing(object sender, DevExpress.Web.Data.ASPxStartRowEditingEventArgs e)
{
((TextBox)appGrid.FindEditFormTemplateControl("txtName")).Text ="aaa" }
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货