I would like to automatically cancel the gridviews edit function by calling cancel immediatly:
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
}
How do I do this?
如msdn所述,将GridViewEditEventArgs e
的Cancel
属性设置为true
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.