title: Partial View With ChildActionOnly Attribute issue
body: <p>I have partial view rendered by jquery and I want to refresh the view using jquery. Here is what my code looks like.</p>
  
  <pre><code>&lt;div id="left"&gt;
  &lt;input type="button" id="refresh" value="refresh" /&gt;
      @Html.Partial("_LeftColumn", new ColumnViewModel { Attempt= DateTime.Now })
  &lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
      $('#refresh').click(function () {
          $.ajax({
              type: "post",
              dataType: "html",
              url: 'Home/LeftColumnData',
              data: {},
              success: function (response) {
                  $('#left').html(response);
              }
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>and in  controller action i wrote like this</p>
  
  <pre><code>[ChildActionOnly]
  public PartialViewResult LeftColumnData()
  {
      var Column= new ColumnViewModel { Attempt= DateTime.Now };
      return PartialView("_LeftColumn", Column);
  }
  </code></pre>
  
  <p>I don't want user to request ColumnData directly from the browser except via ajax but with this approach I'm getting the error below.</p>
  
  <p><img src="https://i.stack.imgur.com/9QoVQ.png" alt="enter image description here"></p>
  
  <p>What should I do to remove ChildActionOnly attribute and allow to request view directly?
  What are the alternatives to this problem?</p>