Torna al Thread

Private Sub GW1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GW1.RowDataBound If e.Row.RowType = DataControlRowType.DataRow Then ' manca il controllo dell'istanza. Dim bt As Button = DirectCast(e.Row.FindControl("Btn"), Button) bt.OnClientClick = "javascript: if (confirm('Vuoi procedere?')) {return true;} else {return false;}" End If End Sub
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5