Dear All,
I am using the Page.ClientScript inside the button click event. So, how can i get the any value from below funvtion.
Page.ClientScript.RegisterStartupScript(this.GetType(), "alert", "validate();", true);
the pop up is display of confirm button but i want to know that user click the "Ok" or "Cancel" button, so i can do based on that particular code.
<script type="text/javascript">
function validate()
{
if(!confirm('Are you Sure to submit your File or Data?'))
{
return false;
}
$.showprogress();
}
</script>
So, please help me for this.