P
Paul W
On my page I have a 'Delete Record' web control (with code behind). How can
I issue a JS confirm('Are you sure you want to delete?') and cancel the
postback (and button event) if the user clicks 'No'?
I know I can do
myBtn.Attributes.Add("onclick", "confirm('are you sure..')") but how can
I cancel it?
Thanks,
Paul.
I issue a JS confirm('Are you sure you want to delete?') and cancel the
postback (and button event) if the user clicks 'No'?
I know I can do
myBtn.Attributes.Add("onclick", "confirm('are you sure..')") but how can
I cancel it?
Thanks,
Paul.