title: cannot render asp.net mvc partial view
body: <p>Using ajax I'm receiving on asp.net mvc controller action certain string. Based on that string  value I want to render partial view.</p>
  
  <pre><code>public ActionResult GetTabData(string activeTab)
          {
              string viewName = String.Empty;
              switch (activeTab)
              {
                  case "all":
                      viewName = "_AllPartial";
                      break;
                  case "one":
                      viewName = "_OnePartial";
                      break;
                  case "two":
                      viewName = "_TwoPartial";
                  default:
                      viewName = "_AllPartial";      
                      break;                    
              }               
              return PartialView("/Home/"+viewName);   
          }
  </code></pre>
  
  <p>All partial views are stored inside Views/Home directory but I'm constantly getting error that partial view cannot be found</p>
  
  <pre><code>The partial view '/Home/_AllPartial' was not found or no view engine supports the searched locations. The following locations were searched:
  /Home/_AllPartial
  </code></pre>