title: Is it possible to call a modal popup (javascript) in MVC controller return
body: <p>I am wondering if it is possible to call a JavaScript method (which displays a Modal as a popup) in the return method of a controller.</p>
  
  <pre><code>string name = home.entityDetails.Name;
  if (name == " " || name == null)
  {
      return PartialView("NotFound");
  }
  </code></pre>
  
  <p>Where <code>return PartialView("Not found");</code> is called, is it possible to return a JavaScript method that shows a modal?</p>