System.Web.UI.WebControls.GridView.OnRowEditing C# (CSharp) Method

OnRowEditing() protected method

protected OnRowEditing ( GridViewEditEventArgs e ) : void
e GridViewEditEventArgs
return void
		protected virtual void OnRowEditing (GridViewEditEventArgs e)
		{
			if (Events != null) {
				GridViewEditEventHandler eh = (GridViewEditEventHandler) Events [RowEditingEvent];
				if (eh != null) {
					eh (this, e);
					return;
				}
			}
			if (!IsBoundUsingDataSourceID)
				throw new HttpException (String.Format ("The GridView '{0}' fired event RowEditing which wasn't handled.", ID));
		}