When i click delete user should be asked with pop up message saying "Are you sure you want to delete it". I have a grid view with Title and Location columns ,I have a edit and delete buttons to edit and update the title and location. How to display "ARE YOU SURE YOU WANT TO DELETE IT When delete button is clicked in gridview "return confirm('Are you sure you want to delete this contact?') ") Protected Sub DgClients_ItemCreated(ByVal sender As System.Object, ByVal e As .WebControls.DataGridItemEventArgs)Ĭase ListItemType.Item, ListItemType.AlternatingItem, ListItemType.EditItem For this I use the OnItemCreated sub but I seem to have a hard time to get to my control and attach the attribute. I am trying to put a message that will ask for confirmation before deleting.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |