我想通过立即调用取消来自动取消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
}
我该怎么做呢?