title: Calling Java Script Alert Function when entire ASP.Net Page gets load
body: <p>I used JavaScipt Alert function in ASP.net4.0 code behind file of <strong>content Page</strong></p>
  
  <pre><code>public void Show(string message)
   {
  
    Page.RegisterClientScript(this.GetType(), "Alert", "&lt;script type=text/javascript&gt;alert('+message+')&lt;/script&gt;");         
   }
  </code></pre>
  
  <p>When i click on button to get this script call then the alert message came on blank screen then the same screen gets loaded fully.</p>
  
  <p>I want this message after loading the whole page(Msg will get displayed on same page with back controls) and then msg is displayed.
  Using Master Pages and content Pages..</p>
  
  <p>Please help on   </p>