diff --git a/PUB/WebUserContols/mod_richiesteList.ascx b/PUB/WebUserContols/mod_richiesteList.ascx index 89359f5..9cf3195 100644 --- a/PUB/WebUserContols/mod_richiesteList.ascx +++ b/PUB/WebUserContols/mod_richiesteList.ascx @@ -82,7 +82,7 @@
- + diff --git a/PUB/WebUserContols/mod_richiesteList.ascx.cs b/PUB/WebUserContols/mod_richiesteList.ascx.cs index e7e5e25..7d397ac 100644 --- a/PUB/WebUserContols/mod_richiesteList.ascx.cs +++ b/PUB/WebUserContols/mod_richiesteList.ascx.cs @@ -91,8 +91,26 @@ namespace PUB.WebUserContols protected void lbtReset_Click(object sender, EventArgs e) { + grViewElRich.EditIndex = -1; grViewElRich.SelectedIndex = -1; grViewElRich.DataBind(); } + + protected void grViewElRich_RowEditing(object sender, GridViewEditEventArgs e) + { + // imposto selezione a riga in edit + grViewElRich.SelectedIndex = -1; + } + + protected void grViewElRich_SelectedIndexChanging(object sender, GridViewSelectEventArgs e) + { + grViewElRich.EditIndex = -1; + } + + protected void grViewElRich_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e) + { + grViewElRich.EditIndex = -1; + grViewElRich.SelectedIndex = -1; + } } } \ No newline at end of file