Alert box to take confirmation for data insertion
I am developing a web application in ASP.NET C# i want to generate a alert box which have value from session and two button yes and no, if yes is click its should redirect either return to same page without post back. Kindly help me to solve the issue.

Vinay SinghPosted Jun 27, 2016, 5:23 AM
JavaScript Confirm Message From Code Behind in Asp.Net Using C#
JohnPosted Jun 27, 2016, 5:12 AM
<script type = "text/javascript">
function callJS(){
var a = '<%=CallCsharp()%>';}
</script>
{
protected void Page_Load(object sender, EventArgs e)
{
}
public string CallCsharp()
{
string str = "testing";
}
}
Mufid BagdadiPosted Jun 27, 2016, 3:35 AM
JohnPosted Jun 27, 2016, 3:18 AM
Ranjit PowarPosted Jun 27, 2016, 3:02 AM