ScriptManager.RegisterStartupScript(this, typeof(System.Web.UI.Page), "Alerta", Cls_Utilidades.mensajescript("Mensaje"), false);
public static string mensajescript(string mensaje)
{
string script5 = @"<script type='text/javascript'> alert('" +mensaje+"');</script>";
return script5;
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.