>btnDelete.Attributes.Add("onClick","return confirm('Do you want to delete "+e.Row.DataItem.ToString() + "?' );"); > >