Thursday, 31 January 2008
Confirm prompt for DropDownList
this wasn't very obvious to work out, and i couldn't find a decent solution online, so i came up with this.
this.DropDownList1.Attributes.Add("onchange", "if(!confirm('Are you sure you want to delete this item?')) return;");
Thursday, 31 January 2008 16:32:13 (GMT Standard Time, UTC+00:00) .Net General | Asp.Net