Torna al Thread

void grid_ItemCommand(object source, DataGridCommandEventArgs e) { if (e.CommandName == "operazione") { // ...serie di operazioni di cancellazione //if (condizione) Page.ClientScript.RegisterStartupScript(this.GetType(), "alertDelete", "alert('Impossibile eliminare');", true); } }
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5