0

我想通过立即调用取消来自动取消gridviews编辑功能:

protected virtual void GridView1_OnRowEditing(object sender, GridViewEditEventArgs e)
{
     //cancel gridviews edit
     //hide the visibility one one panel and show the visibility of another populated panel
}

我该怎么做呢?

4

1 回答 1

2

按照msdn上的说明设置to的Cancel属性。GridViewEditEventArgs etrue

于 2013-07-02T15:18:25.047 回答