Hi,
I have add an onclick attribute in my Delete linkbutton in my datagrid like below:
If the user clicks "Cancel", I want to assign a variable to nothing. How can I do it in the code above.Code:l.Attributes.Add("onclick", "return confirm('Are you sure you want to delete this record?')")
Thanks heaps.




Reply With Quote