Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

confirmation alert c#

$
0
0
i would like to check confirmaion from following c# but javascript error occured with "expected ;"

string strconfirm = "<script>if(!window.confirm('Are you sure?')){window.location.href='Pre_.aspx?custId='"+custId+"';}</script>";
CSM.RegisterClientScriptBlock(

this.GetType(), "Confirm", strconfirm, false)


anyone help

Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>