Call Js Confirm From Code Behind
codebehind Protected Sub btnDelete_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnDelete.Click Dim ResourceObject As Object Dim js As [Stri
Solution 1:
Are you expecting an immediate confirm-popup so your next line (If txtRespuesta.Text = False Then) can react to it?
That will not happen! Only when the processing of the code-behind is completed, then something is sent to the browser. So only then can a confirm pop up. And the next postback could react to the changed value.
Post a Comment for "Call Js Confirm From Code Behind"