I am using the following piece of code for an alert popup. I want to insert some new line characters to make the alert better readable, but when I insert an \n in the sentence, the alert popup just does not show up.
Please suggest what is the best way to break line after the pariod.
if (CaseOrders.Count < 1)
alertString = "alert('Tests ordered did not match any Tests/Panels in ET. "+" MessageControl ID=" + MessageControlID + "');";
Page.ClientScript.RegisterStartupScript(Type.GetType("System.String"), "ALERT", alertString, true);
Thanks for your help.
View Complete Post