ScriptManager.RegisterClientScriptBlock(Me, GetType(Page), UniqueID, "javascript:alert('You have registered Successfully!');", True) Response.Write("<script>alert('registrationsuccessful')</script>") ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "script", "alert('Message')", True)
ScriptManager.RegisterStartupScript(this, GetType(), "showalert", "alert('This is an alert');", true);
ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "script", "success('Message')", True)
function success(Message) { alert(Message); window.location = 'newpage.aspx'; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)