I have a dropdown list, and can select names to delete from db table user.
Just want to add a confirmation dialouge window before deleting the record.
I am using a simple function at js to confirm. Isn't that enough to go to btnDelete_click() if true? I am using LINQ to SQL.
Looking for help.....what am I missing here?
I tried:
(code behind)
protected void Page_Load (object sender, EventArgs e)
{
if(!IsPostBack)
btnDelete.Attributes.Add("onclick","return check();");
}
Go to the complete details ...