I'm using the following code:
to display a confirm dialog but the application continues to execute even when this is shown.
How do I holt application execution until OK or cancel has been clicked on the confirm dialog?
Regards in advance...
Code:
string jStr = @"<script>confirm('Continue ?');</script>";
LiteralControl li = new LiteralControl(jStr);
Page.Controls.Add(li);
How do I holt application execution until OK or cancel has been clicked on the confirm dialog?
Regards in advance...