LJnel Posted July 5, 2006 Share Posted July 5, 2006 hey therei want to be able to delete a user from a table , getting the user's info from the database, by just using a checkbox, if the checkbox is clicked and the user clicks the confirmation button, i want to display a pop-up just the user "Are you sure?" thats all..i cant find any code, can somebody help me if they know the code..thanks Link to comment Share on other sites More sharing options...
aspnetguy Posted July 5, 2006 Share Posted July 5, 2006 use this deleteButton.Attributes.Add("onclick","if(checkbox is checked){return confirm('Are you sure?','')}else{return false}"); If they click okay it will continue an dfire your delete button on click function and if they click cancel nothing will happen Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now