Hi all,
i am using this code for showing alert message but it not working , if i am using \n
protected void Button1_Click(object sender, EventArgs e)
{
if(clsValidation.Return_Date(txtDate)==true)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "test", "alert('Ok')", true);
}
else
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "test", "alert('Enter Valid Date \n in dd/mm/yyyy format')", true);
}
}
working if \n not use what is the reason , any solution?
thanks