我有一个按钮,当点击时,里面有一个带有gridview的modalpopup。如下;
protected void grdDetails_SelectedIndexChanged(object sender, EventArgs e)
{
GridViewRow row = grdDetails.SelectedRow;
//Note: Value of that row's cell must display in A text box (txtBox) on main page
txtBox.Text = row.Cells[2].Text;
ChargeFilterModalDialogExtender.Hide();
}
扩展器隐藏后,单元格的值不显示在文本框中。难道我做错了什么?