2 ttn2000 ttn2000 于 2013.06.01 13:42 提问

内层ASPxGridView取不到ASPxTextBox,急求
  protected void gvInnerItem_RowUpdating(object sender, DevExpress.Web.Data.ASPxDataUpdatingEventArgs e)  //内层ASPxGridView更新行
    {

        DevExpress.Web.ASPxGridView.ASPxGridView gvInnerItem = sender as DevExpress.Web.ASPxGridView.ASPxGridView;
        DevExpress.Web.ASPxEditors.ASPxTextBox txtRmoney = gvInnerItem.FindRowCellTemplateControl(5, (GridViewDataColumn)gvInnerItem.Columns["ProjectDeclarerAmount"], "txtDAmount") as DevExpress.Web.ASPxEditors.ASPxTextBox;  //这里调试返回为null
      string strProjectAmount = txtRmoney.Text;  //

}

1个回答

lyyybz
lyyybz   Rxr 2016.08.19 10:53

请问你的问题解决了么,我碰到和你一样的问题!

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!