I have code like this
protected void Button1_Click(object sender, EventArgs e)
{
bool IsValidated = ValidateFunction();
If(IsValidated == true)
{
Here I have to display the confirmation message to the user. if (user clicks on "OK" button)
{
//Do something here
}
else //if user click on "Cancel" button
{
//Do something else
}
}
}
Thanks and Regards,
Aparna Bhise