open confirmation in middle of button click event
Posted on 2009-02-18
I see some people asked this question before. But I can not fully understand the solution or it was not solved at all.
Basically I have a button on C# web application page. Once user clicks the button it call some other function/process to get result. let's say the result is a string saved in a textbox on the page. Based on the string value 'yes' or 'No' to open confirmation or not, then catch the user's response from the confirmation to do rest stuff.
protected void OverRide_Click(object sender, EventArgs e)
myResult.Text = "";
myResult.Text = myFirstCheck(Customer.Text);
OverRideCustomer(Customer.Text, myResult.Text) ;
Thnaks for help