line break in alert popup
<p>I am trying to add a new line Javascript alert message. I tried '\n' and 'Environment.NewLine'. I am getting Unterminated string constant error. Could you please let me know what could be the problem? I appreciate any help. I also tried \r\n.</p>

<pre><code>string msg = "Your session will expire in 10 minutes. \n Please save your work to avoid this.";


if (!this.ClientScript.IsStartupScriptRegistered(ID)) 
   this.ClientScript.RegisterStartupScript(GetType(), ID, String.Format("&lt;script language=JavaScript&gt;setTimeout(\'alert(\"{1}\");\',{0}*1000);&lt;/script&gt;", sTime, msg));
</code></pre>
