title: Razor- how to display message box?
body: <p>I am new to Razor. My application is not MVC.</p>
  
  <p>What I am trying to achieve is to inform user that posting data to database was successful.</p>
  
  <p>I do not want to re-direct user, all I want is to display a good looking message box.</p>
  
  <p>I made quite a lot of research and I found these:</p>
  
  <pre><code>System.Web.HttpContext.Current.Response.Write("&lt;SCRIPT&gt; alert('Hello this is an Alert')&lt;/SCRIPT&gt;");
  </code></pre>
  
  <p>and this</p>
  
  <pre><code>Response.Write("&lt;script&gt;alert('Message');&lt;/script&gt;");
  </code></pre>
  
  <p>They both display message but a very bad looking one.</p>
  
  <p>Question:</p>
  
  <p>How to display a good looking message box using razor syntax?</p>
  
  <p>Thank you!</p>