popup based on condition
private void Page_Load(object sender, System.EventArgs e)
{
cmd.Attributes.Add("onclick", "return confirm_submit();");
}
if i do like this when ever i click on "cmd" button popup is coming .but i need to display popup on one condition only means when ever user click on "cmd" button i am doing some calculation and if this calculation success only i want to display popup.
|