View Single Post
Old 07-06-2005, 06:06 AM   #4 (permalink)
grand_marquisGT
USAF .NET Slacker
 
grand_marquisGT's Avatar
 
Join Date: Feb 2005
Posts: 7
grand_marquisGT is on a distinguished road
For future reference, this is what I found, and it works great!
Code:
Dim btn As System.Web.UI.WebControls.ImageButton
            btn = e.Item.FindControl("btnDelete")
            btn.Attributes.Add("onclick", "return confirm('Are you sure you want to delete this item?');")
grand_marquisGT is offline   Reply With Quote