title: Modal pop up in controller
body: <p>I am using MVC3, C# engine</p>
  
  <p>My question : I am checking from my controller if there is an Active batch and if there is not then display the result. But if there is a Active batch need to display a modal pop up alert</p>
  
  <pre><code>if (!CheckActiveStatus())
          {
              GetAllErrors(batchID);
          }
          else
          { 
              // Need to show modal alert box here
          }
          return View();
  </code></pre>
  
  <p>Should I create a partial view and call that page. ?
  I checked few articles but unable to understand how to implement. Any help is appreicated.</p>
  
  <p>Thanks</p>