I have a fairly simple code, a button click event, with the first line being a message box.
When the button is clicked, the messagebox is not called.
protected void btnSubmitToCRM_Click(object sender, EventArgs e)
{
ClientScript.RegisterStartupScript(GetType(), "alert", "alert('btnSubmitToCRM_Click - 1');", true);
if (!ValidateCoreValue())
{
ClientScript.RegisterStartupScript(GetType(), "alert", "alert('btnSubmitToCRM_Click - 1 - False');", true);
return;
}
}
Any ideas?